mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
eslint
This commit is contained in:
parent
cd5dff1045
commit
d2b2692ee1
@ -16,6 +16,7 @@ module.exports = {
|
||||
rules: {
|
||||
"indent": ["error", 2, { "SwitchCase": 1 }],
|
||||
"react/display-name": ["off"],
|
||||
"react/jsx-indent": ["error", 2]
|
||||
"react/jsx-indent": ["error", 2],
|
||||
"comma-dangle": ["error", "only-multiline"],
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ class Login extends Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
}
|
||||
|
||||
|
||||
static propTypes = {
|
||||
value: PropTypes.string,
|
||||
per: PropTypes.string,
|
||||
|
@ -5,5 +5,5 @@ import ProjectGroups from './ProjectGroups/ProjectGroups.js'
|
||||
export {
|
||||
Home,
|
||||
Login,
|
||||
ProjectGroups
|
||||
ProjectGroups,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user