From 569c9e487651f2d7b827534de37052721032e3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Fl=C3=B3rez?= Date: Sun, 27 Feb 2022 22:39:24 -0500 Subject: [PATCH] fix: turn off new react rules --- react.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react.js b/react.js index f9f1ae4..24eb69e 100644 --- a/react.js +++ b/react.js @@ -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', @@ -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',