From d9ceb4d7c673da4e16e552fd485c1635bc8aa49d Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Sat, 30 Mar 2024 18:59:39 +0100 Subject: [PATCH] chore: remove `.eslintrc.js` file --- eslint.config.js | 8 +++++++- tests/.eslintrc.js | 7 ------- 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 tests/.eslintrc.js 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 - } -};