We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to suggest changing the Prettier trailingComma setting from es5 to all for the next gts release with breaking changes.
https://prettier.io/docs/en/options.html#trailing-commas
In particular, this would enable trailing commas in multiline function parameter lists and calls, which can help reduce commit diff noise.
The Prettier docs note that this requires ES2017 and TypeScript 2.7, but gts already specifies ES2018 and TypeScript 4.x.
The text was updated successfully, but these errors were encountered:
+1 to this. The internal prettier config at Google uses trailingComma: 'all'
trailingComma: 'all'
Sorry, something went wrong.
trailingComma: "all"
Successfully merging a pull request may close this issue.
I'd like to suggest changing the Prettier trailingComma setting from es5 to all for the next gts release with breaking changes.
https://prettier.io/docs/en/options.html#trailing-commas
In particular, this would enable trailing commas in multiline function parameter lists and calls, which can help reduce commit diff noise.
The Prettier docs note that this requires ES2017 and TypeScript 2.7, but gts already specifies ES2018 and TypeScript 4.x.
The text was updated successfully, but these errors were encountered: