Skip to content

Commit

Permalink
feat: make react-hooks/exhaustive-deps an error
Browse files Browse the repository at this point in the history
BREAKING CHANGE: react-hooks/exhaustive-deps is now an error
  • Loading branch information
gajus authored Oct 6, 2021
1 parent 5d9ab7d commit bf3f302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configurations/react.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"react-hooks"
],
"rules": {
"react-hooks/exhaustive-deps": 1,
"react-hooks/exhaustive-deps": 2,
"react-hooks/rules-of-hooks": 2,
"react/boolean-prop-naming": 0,
"react/button-has-type": 2,
Expand Down

0 comments on commit bf3f302

Please sign in to comment.