projects
/
rainny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd598f
)
Add react/no-unstable-nested-components rule in eslintrc
author
ajbura
<ajbura@gmail.com>
Sat, 5 Feb 2022 12:19:51 +0000
(17:49 +0530)
committer
ajbura
<ajbura@gmail.com>
Sat, 5 Feb 2022 12:19:51 +0000
(17:49 +0530)
Signed-off-by: ajbura <ajbura@gmail.com>
.eslintrc.js
patch
|
blob
|
history
diff --git
a/.eslintrc.js
b/.eslintrc.js
index 8ad268d3b686499c34790b3cad737cdb1a40ca00..3dd60b58c08b6d6ace067403a2453ea05453b608 100644
(file)
--- 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 },
+ ],
},
};