Skip to content

Commit

Permalink
(chore) Flag rules-of-hooks lint violations (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Apr 11, 2024
1 parent af67501 commit 9db246d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"plugins": ["@typescript-eslint", "react-hooks"],
"rules": {
"react-hooks/exhaustive-deps": "warn",
"react-hooks/rules-of-hooks": "error",
// The following rules need `noImplicitAny` to be set to `true` in our tsconfig. They are too restrictive for now, but should be reconsidered in future
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
Expand Down

0 comments on commit 9db246d

Please sign in to comment.