-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Implement trailing-comma tslint rule and enforce on generation #3966
Comments
This is a stylistic decision which would best be handled with custom blueprints/templates when they are that implemented. Leaving this issue open as a placeholder. |
I think a lot of things in angular-cli are stylistic decisions, it's opinionated after all. If it helps reducing conflicts and has no drawbacks I'd welcome it, at least as default behavior. |
Superseded by #6272, since that rule has a fixer it could be done there. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm working in a team of around 10 frontenders and there's 2 things which have given us no end of git conflicts over the years:
Now we have a pre-compilation step, I'd like to enforce trailing commas for multi-line statements to avoid this:
TSLint rule: https://palantir.github.io/tslint/rules/trailing-comma/
Is it possible to add trailing commas for multi-lines on the generation statements?
The text was updated successfully, but these errors were encountered: