Skip to content

Commit

Permalink
fix: turn off new react rules
Browse files Browse the repository at this point in the history
  • Loading branch information
crisfcodes committed Feb 28, 2022
1 parent 823b40c commit 569c9e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = {
'react/forbid-foreign-prop-types': hasPropTypes ? 'error' : 'off',
'react/forbid-prop-types': 'off',
'react/function-component-definition': 'off',
'react/iframe-missing-sandbox': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-curly-brace-presence': [
'warn',
Expand Down Expand Up @@ -122,6 +123,7 @@ module.exports = {
'react/state-in-constructor': 'off',
'react/static-property-placement': 'off',
'react/style-prop-object': 'error',
'react/hook-use-state': 'off',
'react/void-dom-elements-no-children': 'error',

'react-hooks/exhaustive-deps': 'warn',
Expand Down

0 comments on commit 569c9e4

Please # to comment.