Use prettier for project?
See original GitHub issueRight now prettier
isn’t used by the project. Would be great if it is.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Install - Prettier
Install an exact version of Prettier locally in your project. · Add a .prettierrc.json to let your editor know that you are using...
Read more >Adding Prettier to a Project - Sia Karamalegos
Add Prettier with a pre-commit hook and dedicate one commit to a full reformat.
Read more >How to Format All Files in a Directory with Prettier
Format any project, folder, or workspace using Prettier code formatter one line in the Prettier CLI. Photo by Jp Valery on Unsplash ·...
Read more >Adding Prettier onto an existing project - Thibaud's blog
Prettier is good. So good, it's easy to get used to it, and subsequently want to retrofit it onto existing projects.
Read more >How to use Prettier in VS Code - Robin Wieruch
Prettier is an opinionated code formatter which ensures one unified code format. It can be used in VS Code by installing it from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seconded. Prettier enforces visual styles like indentation and object formatting, rather than substantive styles like eslint. It’s more and more common across the web. If you use Prettier, then your code will look more similar with other people’s code.
Prettier is highly opinionated and it enforces those opinions. One of the best statements I’ve read is that “I hate how Prettier reformats my own code, but I love how it fixes/cleans up my coworkers’ code.” It makes all of the code look consistent, regardless of who wrote it.
https://github.com/prettier/prettier-eslint/issues/101
I think this should answer your question 😃