Skip to content
Prev Previous commit
Next Next commit
Return the rules-of-hooks to error
  • Loading branch information
t-hamano committed Jul 1, 2025
commit 35aa9580d9e03e0d6358f2d8e88ac6fb62210728
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ module.exports = {
definedTags: [ 'jest-environment' ],
},
],
'react-hooks/rules-of-hooks': 'warn',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/react-compiler': 'error',
},
overrides: [
Expand Down