diff --git a/eslint.config.js b/eslint.config.js index bb138a0..e8193b6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -17,7 +17,13 @@ module.exports = [ } }, { - files: ["eslint.config.js", "tests/**/*.js"], + files: ["eslint.config.js"], + rules: { + "n/no-unpublished-require": "off" + } + }, + { + files: ["tests/**/*.js"], languageOptions: { globals: { ...globals.jest diff --git a/tests/.eslintrc.js b/tests/.eslintrc.js deleted file mode 100644 index 6817a7b..0000000 --- a/tests/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; - -module.exports = { - env: { - jest: true - } -};