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:
parent
ef42cb11d0
commit
5d3f498138
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@
|
||||||
"logical": "parens",
|
"logical": "parens",
|
||||||
"prop": "parens"
|
"prop": "parens"
|
||||||
}],
|
}],
|
||||||
"react/jsx-boolean-value": ["warn", "always"],
|
"react/jsx-boolean-value": ["error", "always"],
|
||||||
"react/jsx-closing-tag-location": ["warn"],
|
"react/jsx-closing-tag-location": ["warn"],
|
||||||
"react/jsx-curly-spacing": ["error", "never"],
|
"react/jsx-curly-spacing": ["error", "never"],
|
||||||
"react/jsx-equals-spacing": ["warn", "never"],
|
"react/jsx-equals-spacing": ["warn", "never"],
|
||||||
|
|
|
@ -19,7 +19,7 @@ const renderInputComponent = (inputProps): Node => {
|
||||||
const { ref, startAdornment, disableUnderline, onKeyDown, ...others } = inputProps;
|
const { ref, startAdornment, disableUnderline, onKeyDown, ...others } = inputProps;
|
||||||
return (
|
return (
|
||||||
<InputField
|
<InputField
|
||||||
fullWidth
|
fullWidth={true}
|
||||||
InputProps={{
|
InputProps={{
|
||||||
inputRef: node => {
|
inputRef: node => {
|
||||||
ref(node);
|
ref(node);
|
||||||
|
|
Loading…
Reference in a new issue