Skip to content

Update prettier to v2.x #287

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

Merged
merged 1 commit into from
May 2, 2020
Merged

Conversation

nicojs
Copy link
Contributor

@nicojs nicojs commented Mar 31, 2020

Update prettier 1.19 -> 2.x

This is not only helpful for this repo itself, but also for everyone using json-schema-to-typescript, since prettier is a dependency of this repo.

One of the changes in prettier 2, is that arrowParens now default to always rather than avoid. I've kept this setting at avoid, because it would have mean 89 fixes needed to be done. Please let me know if you want me to set it to avoid.

Copy link
Owner

@bcherny bcherny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@bcherny bcherny merged commit f1f07b3 into bcherny:master May 2, 2020
@nicojs nicojs deleted the chore/update-prettier branch May 11, 2020 07:17
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.

2 participants