From e5b57e5ff93f6237270418ebd938783835999446 Mon Sep 17 00:00:00 2001 From: ajbura Date: Sat, 5 Feb 2022 17:49:51 +0530 Subject: [PATCH] Add react/no-unstable-nested-components rule in eslintrc Signed-off-by: ajbura --- .eslintrc.js | 4 ++++ 1 file changed, 4 insertions(+) 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 }, + ], }, };