diff --git a/linters/.eslintrc b/linters/.eslintrc index 93b84a54..b904f3ec 100644 --- a/linters/.eslintrc +++ b/linters/.eslintrc @@ -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.+$/",