Skip to content

Prettier removes empty lines in jsx after upgrading to react-scripts v4 #9900

Answered by ChristianMurphy
CyanoFresh asked this question in Q&A
Discussion options

You must be logged in to vote

@CyanoFresh Create react app doesn't include prettier or specify a prettier version.
Prettier is installed independently https://create-react-app.dev/docs/setting-up-your-editor/#formatting-code-automatically and the version is specified by the adopter (you), so it isn't a part of CRA's changelog, because it isn't a part of CRA.

Prettier does maintain a changelog though, you can find it here: https://github.com/prettier/prettier/blob/master/CHANGELOG.md

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@CyanoFresh
Comment options

@ChristianMurphy
Comment options

@ChristianMurphy
Comment options

@CyanoFresh
Comment options

Answer selected by CyanoFresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants