0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

chore: enable react/jsx-boolean-value as error

This commit is contained in:
Juan Picado @jotadeveloper 2018-12-15 16:41:27 +01:00
parent ef42cb11d0
commit 5d3f498138
No known key found for this signature in database
GPG key ID: 18AC54485952D158
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@
"logical": "parens",
"prop": "parens"
}],
"react/jsx-boolean-value": ["warn", "always"],
"react/jsx-boolean-value": ["error", "always"],
"react/jsx-closing-tag-location": ["warn"],
"react/jsx-curly-spacing": ["error", "never"],
"react/jsx-equals-spacing": ["warn", "never"],

View file

@ -19,7 +19,7 @@ const renderInputComponent = (inputProps): Node => {
const { ref, startAdornment, disableUnderline, onKeyDown, ...others } = inputProps;
return (
<InputField
fullWidth
fullWidth={true}
InputProps={{
inputRef: node => {
ref(node);