Skip to content

Commit

Permalink
ESLint: error on react hook dependency issues (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai authored Nov 8, 2019
1 parent f8730bf commit 5e77cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
rules: {
'react/prop-types': 'warn',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-hooks/exhaustive-deps': 'error',
'import/no-unresolved': [
'error',
{ ignore: ['^react(-dom)?$', '^styled-components$'] },
Expand Down

0 comments on commit 5e77cc3

Please sign in to comment.