mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore: enable react/jsx-sort-default-prop as error
This commit is contained in:
parent
530f4cb629
commit
30e36e8098
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@
|
|||
"react/jsx-curly-brace-presence": ["warn", { "props": "always", "children": "ignore" }],
|
||||
"react/jsx-pascal-case": ["error"],
|
||||
"react/jsx-props-no-multi-spaces": ["error"],
|
||||
"react/jsx-sort-default-props": ["warn"],
|
||||
"react/jsx-sort-default-props": ["error"],
|
||||
"react/jsx-sort-props": ["error"],
|
||||
"react/no-string-refs": ["error"],
|
||||
"react/no-danger-with-children": ["error"],
|
||||
|
|
|
@ -23,10 +23,10 @@ export default class LoginModal extends Component {
|
|||
};
|
||||
|
||||
static defaultProps = {
|
||||
visibility: true,
|
||||
error: {},
|
||||
onCancel: () => {},
|
||||
onSubmit: () => {},
|
||||
visibility: true,
|
||||
}
|
||||
|
||||
constructor(props) {
|
||||
|
|
Loading…
Reference in a new issue