From: ajbura Date: Sat, 5 Feb 2022 12:19:51 +0000 (+0530) Subject: Add react/no-unstable-nested-components rule in eslintrc X-Git-Tag: v1.8.0~106 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=e5b57e5ff93f6237270418ebd938783835999446;p=rainny.git Add react/no-unstable-nested-components rule in eslintrc Signed-off-by: ajbura --- diff --git a/.eslintrc.js b/.eslintrc.js index 8ad268d..3dd60b5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,5 +20,9 @@ module.exports = { rules: { 'linebreak-style': 0, 'no-underscore-dangle': 0, + 'react/no-unstable-nested-components': [ + 'error', + { allowAsProps: true }, + ], }, };