Skip to content

Commit

Permalink
[eslint config] [patch] Add new methods introduced in react@16.3
Browse files Browse the repository at this point in the history
  • Loading branch information
paliwalgaurav authored and ljharb committed Jun 20, 2018
1 parent 068d6b6 commit 25e711c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ module.exports = {
'getDefaultProps',
'getChildContext',
'componentWillMount',
'UNSAFE_componentWillMount',
'componentDidMount',
'componentWillReceiveProps',
'UNSAFE_componentWillReceiveProps',
'shouldComponentUpdate',
'componentWillUpdate',
'UNSAFE_componentWillUpdate',
'componentDidUpdate',
'componentWillUnmount',
'componentDidCatch',
'getSnapshotBeforeUpdate'
],
}],

Expand Down

0 comments on commit 25e711c

Please sign in to comment.