Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit 4e94513

Browse files
committed
fix: disable react/state-in-constructor
1 parent 7e8cf4f commit 4e94513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module.exports = {
3434
'react/no-typos': 'error',
3535
'react/react-in-jsx-scope': 'error',
3636
'react/require-render-return': 'error',
37+
'react/state-in-constructor': 'off',
3738
'react/style-prop-object': 'warn',
3839

3940
'react-hooks/rules-of-hooks': 'error',

0 commit comments

Comments
 (0)