Skip to content

Commit

Permalink
[eslint config] [patch] Remove duplicate componentDidCatch
Browse files Browse the repository at this point in the history
See airbnb#2043 (comment)

I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
  • Loading branch information
Hypnosphi authored and ljharb committed Oct 3, 2019
1 parent dee4f17 commit ab72ab9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ module.exports = {
'getSnapshotBeforeUpdate',
'componentDidUpdate',
'componentDidCatch',
'componentWillUnmount',
'componentDidCatch'
'componentWillUnmount'
],
rendering: [
'/^render.+$/',
Expand Down

0 comments on commit ab72ab9

Please sign in to comment.