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