diff options
| author | Valentin Popov <info@valentineus.link> | 2020-06-18 10:53:24 +0300 |
|---|---|---|
| committer | Valentin Popov <info@valentineus.link> | 2020-06-18 10:53:24 +0300 |
| commit | 6cef3fc8443d497f473e78e5452af9e6840d9975 (patch) | |
| tree | 08e9d0916bb946b400818846a7094a50072fa250 /src/rules | |
| parent | f6868cf9b6ffb583313a7c62526688064ee64d05 (diff) | |
| download | eslint-config-6cef3fc8443d497f473e78e5452af9e6840d9975.tar.xz eslint-config-6cef3fc8443d497f473e78e5452af9e6840d9975.zip | |
Added some react rules
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
| -rw-r--r-- | src/rules/react/default.json | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/rules/react/default.json b/src/rules/react/default.json index 0967ef4..66a8727 100644 --- a/src/rules/react/default.json +++ b/src/rules/react/default.json @@ -1 +1,16 @@ -{} +{ + "react/jsx-boolean-value": [ + "error", + "always" + ], + "react/jsx-fragments": [ + "error", + "element" + ], + "react/no-unused-prop-types": [ + "warn", + { + "skipShapeProps": false + } + ] +}
\ No newline at end of file |
