]> git.r.bdr.sh - rbdr/blog/blobdiff - .eslintrc
Add status command
[rbdr/blog] / .eslintrc
index 0a1dc80f7286fdba6aa4c64b9527fa411aba5fba..efbe3ab23ec723c3f5de43b3c859844cbcfac6ba 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,14 +1,15 @@
 {
 {
-  "extends": "eslint-config-hapi",
+  "root": true,
+  "plugins": ["@hapi"],
+  "extends": "plugin:@hapi/recommended",
   "parserOptions": {
   "parserOptions": {
-    "ecmaVersion": 2017
+    "ecmaVersion": "latest",
+    "sourceType": "module"
   },
   "rules": {
     "indent": [
       2,
       2
   },
   "rules": {
     "indent": [
       2,
       2
-    ],
-    "no-undef": 2,
-    "require-yield": 0
+    ]
   }
 }
   }
 }