]> git.r.bdr.sh - rbdr/forum/blobdiff - .eslintrc
Add retries to socket coordinator
[rbdr/forum] / .eslintrc
index 68bd8d36a04bd5431d54138f49f06ed9e46d517f..8902297c7e2746bddb7258e178a0c52dd874769b 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,6 +1,23 @@
 {
 {
+  "parserOptions": {
+    "ecmaVersion": 2019,
+    "sourceType": "module"
+  },
+  "env": {
+    "es6": true,
+    "browser": true
+  },
   "extends": [
   "extends": [
-    "eslint-config-hapi"
+    "@hapi/eslint-config-hapi"
+  ],
+  "plugins": [
+    "svelte3"
+  ],
+  "overrides": [
+    {
+      "files": ["**/*.svelte"],
+      "processor": "svelte3/svelte3"
+    }
   ],
   "rules": {
     "indent": [
   ],
   "rules": {
     "indent": [
@@ -9,8 +26,5 @@
     ],
     "no-undef": 2,
     "require-yield": 0
     ],
     "no-undef": 2,
     "require-yield": 0
-  },
-  "parserOptions": {
-    "sourceType": "module"
   }
 }
   }
 }