fix: eslint settings (#787)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/787
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-09-25 15:56:06 +00:00 committed by konrad
parent 72627d13c6
commit feb34c8cc1

View file

@ -78,11 +78,13 @@
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,
"env": { "env": {
"browser": true,
"es2021": true,
"node": true "node": true
}, },
"extends": [ "extends": [
"plugin:vue/essential",
"eslint:recommended", "eslint:recommended",
"plugin:vue/essential",
"@vue/typescript" "@vue/typescript"
], ],
"rules": { "rules": {
@ -103,8 +105,10 @@
"never" "never"
] ]
}, },
"parser": "vue-eslint-parser",
"parserOptions": { "parserOptions": {
"parser": "@typescript-eslint/parser" "parser": "@typescript-eslint/parser",
"ecmaVersion": 2021
}, },
"ignorePatterns": [ "ignorePatterns": [
"*.test.*", "*.test.*",