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

Commit

Permalink
fix: disable react/state-in-constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Aug 30, 2019
1 parent 7e8cf4f commit 4e94513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
'react/no-typos': 'error',
'react/react-in-jsx-scope': 'error',
'react/require-render-return': 'error',
'react/state-in-constructor': 'off',
'react/style-prop-object': 'warn',

'react-hooks/rules-of-hooks': 'error',
Expand Down

0 comments on commit 4e94513

Please sign in to comment.