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

Better:docs/rules/comma-dangle #52

Open
DavidDong93 opened this issue Feb 11, 2016 · 1 comment
Open

Better:docs/rules/comma-dangle #52

DavidDong93 opened this issue Feb 11, 2016 · 1 comment

Comments

@DavidDong93
Copy link

[docs/rules/comma-dangle]

On the other hand, trailing commas simplify adding and removing items to objects and arrays,since only the lines you are modifying must be touched.
另一方面,拖尾逗号简化了对象和数组元素的添加和删除,因为仅有你要修改的行是必须得到触及的

@DavidDong93
Copy link
Author

This rule enforces consistent use of trailing commas in object and array literals
这个规则强制要求在对象和数组字面量中使用一致的拖尾逗号

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