mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 02:08:19 -05:00
Merge pull request #372 from 0xCMP/patch-1
Update .eslintrc with other react class properties
This commit is contained in:
@@ -191,16 +191,21 @@
|
||||
"react/sort-comp": [2, {
|
||||
"order": [
|
||||
"displayName",
|
||||
"propTypes",
|
||||
"contextTypes",
|
||||
"childContextTypes",
|
||||
"mixins",
|
||||
"statics",
|
||||
"propTypes",
|
||||
"defaultProps",
|
||||
"getDefaultProps",
|
||||
"getInitialState",
|
||||
"getChildContext",
|
||||
"componentWillMount",
|
||||
"componentDidMount",
|
||||
"componentWillReceiveProps",
|
||||
"shouldComponentUpdate",
|
||||
"componentWillUpdate",
|
||||
"componentDidUpdate",
|
||||
"componentWillUnmount",
|
||||
"/^on.+$/",
|
||||
"/^get.+$/",
|
||||
|
||||
Reference in New Issue
Block a user