X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d92ac8ccf6516011bc40bff2b17ef0d0d766f9de..c4b892b16fb92c7d89eaee0b1588c52c8836216b:/.eslintrc?ds=sidebyside diff --git a/.eslintrc b/.eslintrc index c30ff11..efbe3ab 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,14 +1,15 @@ { - "extends": "@hapi/eslint-config-hapi", + "root": true, + "plugins": ["@hapi"], + "extends": "plugin:@hapi/recommended", "parserOptions": { - "ecmaVersion": 2020 + "ecmaVersion": "latest", + "sourceType": "module" }, "rules": { "indent": [ 2, 2 - ], - "no-undef": 2, - "require-yield": 0 + ] } }