mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 07:47:54 -05:00
[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:
committed by
GitHub
parent
59db4aab15
commit
24223ee444
1
packages/eslint-config-airbnb/rules/react.js
vendored
1
packages/eslint-config-airbnb/rules/react.js
vendored
@@ -23,6 +23,7 @@ module.exports = {
|
||||
'render',
|
||||
'getInitialState',
|
||||
'getDefaultProps',
|
||||
'getChildContext',
|
||||
'componentWillMount',
|
||||
'componentDidMount',
|
||||
'componentWillReceiveProps',
|
||||
|
||||
Reference in New Issue
Block a user