Added some react rules

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-06-18 11:53:24 +04:00
parent f6868cf9b6
commit 6cef3fc844
2 changed files with 19 additions and 4 deletions

View File

@ -1 +1,16 @@
{}
{
"react/jsx-boolean-value": [
"error",
"always"
],
"react/jsx-fragments": [
"error",
"element"
],
"react/no-unused-prop-types": [
"warn",
{
"skipShapeProps": false
}
]
}