Skip to content

Commit

Permalink
ESLint: use stable versions for eslint-plugin-storybook and eslint-pl…
Browse files Browse the repository at this point in the history
…ugin-testing-library
  • Loading branch information
shvlv committed Jan 2, 2025
1 parent ca0dbd1 commit 56e6562
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1,030 deletions.
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const tseslint = require( 'typescript-eslint' );
const ssrFriendly = require( 'eslint-plugin-ssr-friendly' );
const react = require( 'eslint-plugin-react' );
const reactCompiler = require( 'eslint-plugin-react-compiler' );
const { fixupConfigRules, fixupPluginRules } = require( '@eslint/compat' );
const { fixupPluginRules } = require( '@eslint/compat' );

/**
* Internal dependencies
Expand Down Expand Up @@ -491,7 +491,7 @@ module.exports = [
} ) ),
...[
jestDom.configs[ 'flat/recommended' ],
...fixupConfigRules( testingLibrary.configs[ 'flat/react' ] ),
testingLibrary.configs[ 'flat/react' ],
jest.configs[ 'flat/recommended' ],
].map( ( config ) => ( {
...config,
Expand Down
Loading

0 comments on commit 56e6562

Please sign in to comment.