X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/58906d77975b35fe93569f8083b90140124f9c41..9fabdd3292b6f065f551f7058f1cb1411097e258:/.eslintrc?ds=sidebyside diff --git a/.eslintrc b/.eslintrc index bb7120d..2b34ba8 100644 --- 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" + ] }