Skip to content

Commit

Permalink
add exhaustive-deps to recommended as well
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 8, 2019
1 parent 4b57d36 commit 65b466d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-plugin-react-hooks/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const configs = {
plugins: ['react-hooks'],
rules: {
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
},
};
Expand Down

0 comments on commit 65b466d

Please sign in to comment.