diff options
Diffstat (limited to '.eslintrc')
| -rw-r--r-- | .eslintrc | 44 |
1 files changed, 11 insertions, 33 deletions
@@ -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" + ] } |