[eslint config] [patch] class-methods-use-this: exempt React getChildContext

Added `getChildContext` to the exceptions list for `class-methods-use-this`
This commit is contained in:
Tim van der Horst
2016-09-27 18:07:56 +10:00
committed by GitHub
parent 59db4aab15
commit 24223ee444

View File

@@ -23,6 +23,7 @@ module.exports = {
'render',
'getInitialState',
'getDefaultProps',
'getChildContext',
'componentWillMount',
'componentDidMount',
'componentWillReceiveProps',