From efac1e8e20d586f8384c3117a09245be1bd2abb9 Mon Sep 17 00:00:00 2001 From: Tal Koren Date: Sun, 5 May 2024 15:18:57 +0300 Subject: [PATCH] Revert "test: remove files from override" This reverts commit 4cd0549abc0a9ac9e9da6f98ec0446ecff50296e. --- packages/core/.eslintrc.js | 2 +- packages/storybook-blocks/.eslintrc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/.eslintrc.js b/packages/core/.eslintrc.js index ea6d8324ff..de90d218e7 100644 --- a/packages/core/.eslintrc.js +++ b/packages/core/.eslintrc.js @@ -59,7 +59,7 @@ const commonExtends = ["plugin:react/recommended", "plugin:react-hooks/recommend module.exports = { overrides: [ { - files: ["jest.init.js"], + files: ["*.test.js", "jest.init.js"], env: { jest: true, "jest/globals": true diff --git a/packages/storybook-blocks/.eslintrc.js b/packages/storybook-blocks/.eslintrc.js index 76c5b9fe9a..5b23350a6e 100644 --- a/packages/storybook-blocks/.eslintrc.js +++ b/packages/storybook-blocks/.eslintrc.js @@ -39,7 +39,7 @@ const commonExtends = ['plugin:react/recommended', 'plugin:prettier/recommended' module.exports = { overrides: [ { - files: ['jest.init.js'], + files: ['*.test.js', 'jest.init.js'], env: { jest: true, 'jest/globals': true,