mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint config] [patch] Remove duplicate componentDidCatch
See https://github.com/airbnb/javascript/pull/2043#discussion_r331208075 I left the one before `cWU`, as in [defaults](https://github.com/airbnb/javascript/pull/2043#discussion_r331208075)
This commit is contained in:
committed by
Jordan Harband
parent
dee4f172e7
commit
ab72ab9e90
3
packages/eslint-config-airbnb/rules/react.js
vendored
3
packages/eslint-config-airbnb/rules/react.js
vendored
@@ -277,8 +277,7 @@ module.exports = {
|
||||
'getSnapshotBeforeUpdate',
|
||||
'componentDidUpdate',
|
||||
'componentDidCatch',
|
||||
'componentWillUnmount',
|
||||
'componentDidCatch'
|
||||
'componentWillUnmount'
|
||||
],
|
||||
rendering: [
|
||||
'/^render.+$/',
|
||||
|
||||
Reference in New Issue
Block a user