Skip to content

Commit 3b402a1

Browse files
committed
Update eslint.config.mjs
1 parent 990acce commit 3b402a1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

eslint.config.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,7 @@ const config = tseslint.config(
4848
reactPlugin.configs.flat.recommended, // This is not a plugin object, but a shareable config object
4949
reactPlugin.configs.flat['jsx-runtime'], // Add this if you are using React 17+
5050
// eslint-plugin-react-hooks
51-
{
52-
plugins: {
53-
'react-hooks': reactHooksPlugin,
54-
},
55-
rules: reactHooksPlugin.configs.recommended.rules,
56-
},
51+
...reactHooksPlugin.configs.recommended,
5752
{
5853
languageOptions: {
5954
globals: {

0 commit comments

Comments
 (0)