Skip to content

Commit

Permalink
[test] Check exhaustive deps of useEnhancedEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jan 26, 2020
1 parent cd672b0 commit 7342556
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ module.exports = {
],

'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error',
'react-hooks/exhaustive-deps': [
'error',
{ additionalHooks: 'useEnhancedEffect' },
],
},
overrides: [
{
Expand Down

0 comments on commit 7342556

Please sign in to comment.