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