Skip to content

Commit

Permalink
fix: turn off no-did-update-set-state
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamssg authored and c2builds committed Apr 4, 2019
1 parent 14b70c3 commit 62bdf13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module.exports = {
'array-bracket-spacing': ['error', 'never'],
'max-len': ['error', {code: 120, ignoreComments: true}],
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn'
'react-hooks/exhaustive-deps': 'warn',
'react/no-did-update-set-state': 'off'
},
globals: {
FormData: false,
Expand Down

0 comments on commit 62bdf13

Please sign in to comment.