Merge pull request #372 from 0xCMP/patch-1

Update .eslintrc with other react class properties
This commit is contained in:
Jake Teton-Landis
2015-06-24 14:28:44 -07:00

View File

@@ -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.+$/",