X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/863ccf104e7cae08268b9e46896b82a9918a22fd..d620665f6b2e1ae5db4c98a09e35bd63133ae87f:/.eslintrc?ds=inline 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 + ] } }