Skip to content

Commit

Permalink
Added useTriggerFrame, useDeepEffect and useDeepMemo to exhaustive deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmoritzschoefl committed Jan 21, 2025
1 parent 8f33e5a commit 39f7888
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/eslintrc.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ module.exports = ({ tsconfigRootDir, optimizeImports }) => ({
},
],
'react-compiler/react-compiler': 'warn',
'react-hooks/exhaustive-deps': ['warn', {
additionalHooks: '(useTriggerFrame|useDeepEffect|useDeepMemo)'

Check failure on line 134 in config/eslintrc.template.js

View workflow job for this annotation

GitHub Actions / build / build-node

Missing trailing comma
}],
},
overrides: [
{
Expand Down

0 comments on commit 39f7888

Please sign in to comment.