Skip to content

Commit

Permalink
[eslint config] [patch] class-methods-use-this: exempt React `getCh…
Browse files Browse the repository at this point in the history
…ildContext`

Added `getChildContext` to the exceptions list for `class-methods-use-this`
  • Loading branch information
vdh authored Sep 27, 2016
1 parent 59db4aa commit 24223ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
'render',
'getInitialState',
'getDefaultProps',
'getChildContext',
'componentWillMount',
'componentDidMount',
'componentWillReceiveProps',
Expand Down

0 comments on commit 24223ee

Please sign in to comment.