Set prettier trailingComma: 'all' to reduce merge conflicts #3389
devinrhode2
started this conversation in
Proposals
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm curious if the maintainers would like to set
trailingComma: 'all'
inprettier.config.js
I searched discord and github for
trailingComma
and didn't find much.History:
I like this setting because it reduces merge conflicts. Read more here:
https://prettier.io/blog/2020/03/21/2.0.0.html#change-default-value-for-trailingcomma-to-es5-6963httpsgithubcomprettierprettierpull6963-by-fiskerhttpsgithubcomfisker
I'd be happy to champion the change, having done this at most of my past jobs (Including adding change to a new .gitblameignore file)
Beta Was this translation helpful? Give feedback.
All reactions