]> git.r.bdr.sh - rbdr/sumo/blobdiff - .eslintrc
Use new lib components
[rbdr/sumo] / .eslintrc
index ca2956492eaff4f99a4def4b33856422ebbd0b81..1ea88c51923b13234d30d5c3852d99fc6f4c8a2a 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,5 +1,15 @@
 {
 {
-  "extends": "eslint-config-hapi",
+  "parserOptions": {
+    "ecmaVersion": 2019,
+    "sourceType": "module"
+  },
+  "env": {
+    "es6": true,
+    "browser": true
+  },
+  "extends": [
+    "@hapi/eslint-config-hapi"
+  ],
   "rules": {
     "indent": [
       2,
   "rules": {
     "indent": [
       2,
@@ -7,8 +17,5 @@
     ],
     "no-undef": 2,
     "require-yield": 0
     ],
     "no-undef": 2,
     "require-yield": 0
-  },
-  "parserOptions": {
-    "sourceType": "module"
   }
 }
   }
 }