Added Launch Profile

- Also package.json formatting
This commit is contained in:
adroslice 2023-10-22 22:07:15 +02:00
parent 8b23444815
commit 271f3c2abc
3 changed files with 37 additions and 21 deletions

16
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}",
"reAttach": true
}
]
}

13
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev",
"path": "client",
"problemMatcher": [],
"label": "npm: dev - client",
"detail": "vite"
}
]
}

View file

@ -62,24 +62,14 @@
"files": "**/*.+(ts|vue)"
}
],
"extends": [
"plugin:vue/vue3-strongly-recommended"
],
"plugins": [
"eslint-plugin-vue"
],
"extends": ["plugin:vue/vue3-strongly-recommended"],
"plugins": ["eslint-plugin-vue"],
"rules": {
"semi": [
"error",
"always"
],
"comma-dangle": [
"error",
"always-multiline"
],
"no-trailing-spaces": [
"error"
],
"semi": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"no-trailing-spaces": "error",
"quotes": ["warn", "single"],
"prefer-template": "warn",
"vue/multi-word-component-names": "off",
"vue/html-closing-bracket-spacing": "off",
"vue/html-self-closing": "off",
@ -87,10 +77,7 @@
"vue/max-attributes-per-line": "off",
"vue/html-closing-bracket-newline": "off",
"vue/singleline-html-element-content-newline": "off",
"indent": [
"error",
2
]
"indent": ["error", 2]
}
}
}