]> git.r.bdr.sh - rbdr/blog/blobdiff - .eslintrc
Add deb generator
[rbdr/blog] / .eslintrc
index 4c16d62ebe3f0accebd1cfc26c625e2dfa49b017..efbe3ab23ec723c3f5de43b3c859844cbcfac6ba 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,6 +1,15 @@
 {
-  "plugins": ["hapi"],
+  "root": true,
+  "plugins": ["@hapi"],
+  "extends": "plugin:@hapi/recommended",
   "parserOptions": {
-    "ecmaVersion": 2020
+    "ecmaVersion": "latest",
+    "sourceType": "module"
+  },
+  "rules": {
+    "indent": [
+      2,
+      2
+    ]
   }
 }