Skip to content

Commit

Permalink
feat(config.ts): disable 'react-hooks/exhaustive-deps' rule to allow …
Browse files Browse the repository at this point in the history
…more flexibility in defining hook dependencies
  • Loading branch information
Bluzzi committed Dec 24, 2024
1 parent 4d07859 commit 89e6838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/react/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const react = (): TypedFlatConfigItem[] => {
rules: {
...reactPlugin.configs.recommended.rules,
...reactHooksPlugin.configs.recommended.rules,
"react-hooks/exhaustive-deps": "off",
},
},
];
Expand Down

0 comments on commit 89e6838

Please sign in to comment.