Add react/no-unstable-nested-components rule in eslintrc

Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
ajbura 2022-02-05 17:49:51 +05:30
parent 2bd598f7f8
commit e5b57e5ff9

View file

@ -20,5 +20,9 @@ module.exports = {
rules: { rules: {
'linebreak-style': 0, 'linebreak-style': 0,
'no-underscore-dangle': 0, 'no-underscore-dangle': 0,
'react/no-unstable-nested-components': [
'error',
{ allowAsProps: true },
],
}, },
}; };