mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
chore: enable react/jsx-curly-brace-presence
This commit is contained in:
parent
30e36e8098
commit
97d5f6cbfb
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@
|
|||
"react/jsx-no-literals": ["warn"],
|
||||
"react/jsx-no-undef": ["error"],
|
||||
"react/jsx-one-expression-per-line": ["warn", {"allow": "single-child"}],
|
||||
"react/jsx-curly-brace-presence": ["warn", { "props": "always", "children": "ignore" }],
|
||||
"react/jsx-curly-brace-presence": ["error", { "props": "always", "children": "ignore" }],
|
||||
"react/jsx-pascal-case": ["error"],
|
||||
"react/jsx-props-no-multi-spaces": ["error"],
|
||||
"react/jsx-sort-default-props": ["error"],
|
||||
|
|
|
@ -174,7 +174,7 @@ class Search extends Component<IProps, IState> {
|
|||
|
||||
renderAdorment() {
|
||||
return (
|
||||
<InputAdornment position="start" style={{ color: colors.white }}>
|
||||
<InputAdornment position={'start'} style={{ color: colors.white }}>
|
||||
<IconSearch />
|
||||
</InputAdornment>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue