]> git.r.bdr.sh - rbdr/blog/blobdiff - .eslintrc
Use modules, use XDG dirs
[rbdr/blog] / .eslintrc
index 0a1dc80f7286fdba6aa4c64b9527fa411aba5fba..fa9328d089f96fa48f63b13d9704a1c9472e1586 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,14 +1,7 @@
 {
 {
-  "extends": "eslint-config-hapi",
+  "plugins": ["@hapi"],
   "parserOptions": {
   "parserOptions": {
-    "ecmaVersion": 2017
-  },
-  "rules": {
-    "indent": [
-      2,
-      2
-    ],
-    "no-undef": 2,
-    "require-yield": 0
+    "ecmaVersion": "latest",
+    "sourceType": "module"
   }
 }
   }
 }