]> git.r.bdr.sh - rbdr/cologne/blobdiff - .eslintrc
Update CHANGELOG and package.json
[rbdr/cologne] / .eslintrc
index bb7120de6feb9993dde0e19861fb87ec9a04d34c..2b34ba882599c19630250e968c7f008720025afa 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,41 +1,19 @@
 {
+  "parserOptions": {
+    "ecmaVersion": 2021
+  },
+  "extends": [
+    "@hapi/eslint-config-hapi"
+  ],
   "rules": {
     "indent": [
       2,
       2
     ],
-    "quotes": [
-      2,
-      "single"
-    ],
-    "linebreak-style": [
-      2,
-      "unix"
-    ],
-    "semi": [
-      2,
-      "always"
-    ],
-    "no-trailing-spaces": [
-      2,
-      {
-        "skipBlankLines": false
-      }
-    ],
-    "eqeqeq": [
-      2,
-      "allow-null"
-    ],
-    "consistent-return": 2,
-    "curly": 2,
-    "dot-location": [2, "property"],
-    "guard-for-in": 2,
-    "no-extra-bind": 2
-  },
-  "env": {
-    "es6": true,
-    "node": true,
-    "browser": true
+    "no-undef": 2,
+    "require-yield": 0
   },
-  "extends": "eslint:recommended"
+  "ignorePatterns": [
+    "tap-snapshots"
+  ]
 }