X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/b3b840f89948d96aa28760fc5cf41c384488f6a6..3f00fec5fc38ff34000721903dd94c30ffc864f3:/.eslintrc diff --git a/.eslintrc b/.eslintrc index e38a8dd..1ea88c5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,9 +1,21 @@ { - "extends": "eslint-config-hapi", + "parserOptions": { + "ecmaVersion": 2019, + "sourceType": "module" + }, + "env": { + "es6": true, + "browser": true + }, + "extends": [ + "@hapi/eslint-config-hapi" + ], "rules": { "indent": [ - "error", + 2, 2 - ] + ], + "no-undef": 2, + "require-yield": 0 } }