Skip to content

Commit 8c686ea

Browse files
Rahil Voraljharb
authored andcommitted
[eslint config] add componentDidCatch to lifecycle for react/sort-comp
1 parent a344d6c commit 8c686ea

File tree

1 file changed

+1
-0
lines changed
  • packages/eslint-config-airbnb/rules

1 file changed

+1
-0
lines changed

packages/eslint-config-airbnb/rules/react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ module.exports = {
272272
'componentWillUpdate',
273273
'componentDidUpdate',
274274
'componentWillUnmount',
275+
'componentDidCatch'
275276
],
276277
rendering: [
277278
'/^render.+$/',

0 commit comments

Comments
 (0)