]> git.r.bdr.sh - rbdr/forum/blobdiff - .eslintrc
Update translations
[rbdr/forum] / .eslintrc
index bd7f88597119de48c7531b5bffe1a07f481dccf8..c9c017db82c2043686bf87cbf44a8fbebf4609c0 100644 (file)
--- 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"
   }
 }