X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/f2a4303543b0b0c1a62681c74244176aa778f417..6b3e4b4fb52e477f9f3c147127c2fd638baffd8a:/.eslintrc?ds=sidebyside 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 } }