diff --git a/.changeset/heavy-crabs-kick.md b/.changeset/heavy-crabs-kick.md new file mode 100644 index 00000000000..1411419e880 --- /dev/null +++ b/.changeset/heavy-crabs-kick.md @@ -0,0 +1,5 @@ +--- +"@remix-run/eslint-config": major +--- + +remove `@remix-run/eslint-config/jest` ESLint config diff --git a/packages/remix-eslint-config/jest.js b/packages/remix-eslint-config/jest.js deleted file mode 100644 index f69586b6fac..00000000000 --- a/packages/remix-eslint-config/jest.js +++ /dev/null @@ -1,30 +0,0 @@ -const jestRules = require("./rules/jest"); - -/** - * @see https://github.com/eslint/eslint/issues/3458 - * @see https://www.npmjs.com/package/@rushstack/eslint-patch - */ -require("@rushstack/eslint-patch/modern-module-resolution"); - -/** - * @deprecated Use `@remix-run/eslint-config/jest-testing-library` instead. - */ -const jestConfig = { - plugins: ["jest"], - env: { - node: true, - }, - overrides: [ - { - files: ["**/__tests__/**/*", "**/*.{spec,test}.*"], - env: { - "jest/globals": true, - }, - rules: { - ...jestRules, - }, - }, - ], -}; - -module.exports = jestConfig;