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

Chore/update to prettier 2 #379

Merged

Conversation

clementdessoude
Copy link
Contributor

What changed with this PR:

Update packages to use Prettier 2! 🚀

I also discovered some minor bugs when using the trailing comma option that I fixed during this PR.

Relative issues or prs:

Fix #378

@clementdessoude clementdessoude merged commit 7cfde96 into jhipster:master Mar 26, 2020
@clementdessoude clementdessoude deleted the chore/update-to-prettier-2 branch March 26, 2020 09:39
@Shaolans
Copy link
Member

@clementdessoude Is it normal as some of the outputs adds a comma at the end ?

@clementdessoude
Copy link
Contributor Author

clementdessoude commented Mar 26, 2020

Yes, as the default option of the trailingComma is now "always" since Prettier 2.0 (https://prettier.io/blog/2020/03/21/2.0.0.html#breaking-changes)

@clementdessoude clementdessoude mentioned this pull request May 10, 2020
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

Successfully merging this pull request may close these issues.

Update to prettier 2.0
2 participants