From feb34c8cc13f9220c0c27be7bf45ed90d543c4cb Mon Sep 17 00:00:00 2001 From: dpschen Date: Sat, 25 Sep 2021 15:56:06 +0000 Subject: [PATCH] fix: eslint settings (#787) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/787 Co-authored-by: dpschen Co-committed-by: dpschen --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 63ad9e06..26ff95b1 100644 --- a/package.json +++ b/package.json @@ -78,11 +78,13 @@ "eslintConfig": { "root": true, "env": { + "browser": true, + "es2021": true, "node": true }, "extends": [ - "plugin:vue/essential", "eslint:recommended", + "plugin:vue/essential", "@vue/typescript" ], "rules": { @@ -103,8 +105,10 @@ "never" ] }, + "parser": "vue-eslint-parser", "parserOptions": { - "parser": "@typescript-eslint/parser" + "parser": "@typescript-eslint/parser", + "ecmaVersion": 2021 }, "ignorePatterns": [ "*.test.*",