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