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