X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/41247723b2940efe89648749b90e56d582bdfb89..cbe4a5fc39533cc244a05dbd866b1cb903776863:/.eslintrc diff --git a/.eslintrc b/.eslintrc index bd7f885..c9c017d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,7 +1,24 @@ { + "parserOptions": { + "ecmaVersion": 2019, + "sourceType": "module" + }, + "env": { + "es6": true, + "browser": true + }, "extends": [ "@hapi/eslint-config-hapi" ], + "plugins": [ + "svelte3" + ], + "overrides": [ + { + "files": ["**/*.svelte"], + "processor": "svelte3/svelte3" + } + ], "rules": { "indent": [ 2, @@ -10,7 +27,7 @@ "no-undef": 2, "require-yield": 0 }, - "parserOptions": { - "sourceType": "module" + "globals": { + "import" } }