Skip to content

Commit b19ea17

Browse files
committed
chore(eslint.config.mjs): update 'eslint-plugin-react-hooks' config to use 'recommended-latest'
1 parent 7f4f2fd commit b19ea17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eslint.config.mjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export default tseslint.config(
1717
tseslint.configs.recommended,
1818
react.configs.flat.recommended,
1919
react.configs.flat['jsx-runtime'],
20+
reactHooks.configs['recommended-latest'],
2021
{
2122
plugins: {
2223
'react-compiler': reactCompiler,
23-
'react-hooks': reactHooks,
2424
},
2525
settings: {
2626
react: {
@@ -75,7 +75,6 @@ export default tseslint.config(
7575
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
7676
],
7777
'react-compiler/react-compiler': 'warn',
78-
...reactHooks.configs.recommended.rules,
7978
},
8079
},
8180
{

0 commit comments

Comments
 (0)