Skip to content

Commit

Permalink
Add react/no-arrow-function-lifecycle rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 9, 2022
1 parent c64b19e commit dcb84c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = {
],
'react/no-access-state-in-setstate': 'error',
'react/no-array-index-key': 'error',
'react/no-arrow-function-lifecycle': 'error',
'react/no-children-prop': 'error',
'react/no-danger': 'error',
'react/no-danger-with-children': 'error',
Expand Down

0 comments on commit dcb84c0

Please sign in to comment.