Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLINT建议去掉以及需要确认的规则 #8

Open
Stevenzwzhai opened this issue Jun 19, 2019 · 0 comments
Open

ESLINT建议去掉以及需要确认的规则 #8

Stevenzwzhai opened this issue Jun 19, 2019 · 0 comments

Comments

@Stevenzwzhai
Copy link

1、去掉JSX不允许使用箭头函数
2、去掉不允许<div onClick={this.handleClick.bind(this, item)}>
3、去掉不允许 dispatch( login( getuin() ) ); -> dispatch(login())
4、空格问题
function hello () {
}
or
function hello() {
}
let obj = {
hello () {
}
}
or
let obj = {
hello() {
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant