Skip to content

Commit bf6daaa

Browse files
committed
add state to lifecyle methods
1 parent b2bfc08 commit bf6daaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rules/sort-comp.js

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ module.exports = function(context) {
6363
'defaultProps',
6464
'constructor',
6565
'getDefaultProps',
66+
'state',
6667
'getInitialState',
6768
'getChildContext',
6869
'componentWillMount',

0 commit comments

Comments
 (0)