-
Notifications
You must be signed in to change notification settings - Fork 27
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
需要foramatter #57
Labels
Comments
@zpbx 说有计划做个lint什么的。 |
lint用处不大,出了警告还得人手改 |
老代码放着貌似也没什么问题?? |
lint 可以有 autofix 呀。eslint / jscs 就是这样。 如果是有不兼容的更新,倒是一定要提供代码转换工具。 |
Possible use case |
加入非嵌套的let通常并不会break compatibility。除非在同级下有重名(现有的代码里应该没见到过)。所以不需要转换工具,最多有检查工具就可以了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
统一代码规范
统一修改老代码
如
可以被formatter格式为
The text was updated successfully, but these errors were encountered: