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

fix: setting trailingComma to es5 #42

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

andreassk80
Copy link
Contributor

Default value for trailingComma was changed from es5 to all from prettier version 2 to 3.
To me es5 looks nicer, especially for JSX syntax and is more intuitive as it tells me this is the last parameter.

https://prettier.io/docs/en/options.html#trailing-commas

@alhugot-azpn alhugot-azpn self-assigned this Jul 17, 2024
@andreassk80 andreassk80 merged commit 8f73dbf into main Jul 17, 2024
3 checks passed
@andreassk80 andreassk80 deleted the users/andreask/trailingcomma branch July 17, 2024 11:58
Copy link

🎉 This PR is included in version 2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants