Add react/no-unstable-nested-components rule in eslintrc
Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
parent
2bd598f7f8
commit
e5b57e5ff9
1 changed files with 4 additions and 0 deletions
|
@ -20,5 +20,9 @@ module.exports = {
|
|||
rules: {
|
||||
'linebreak-style': 0,
|
||||
'no-underscore-dangle': 0,
|
||||
'react/no-unstable-nested-components': [
|
||||
'error',
|
||||
{ allowAsProps: true },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue