add prettier for better format
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [x] feature request
currently tslint and .editorconfig can do some code style normalize but they do too less
using prettier could normalize more code style, less difference, it’s much useful in some team allow different IDE.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:63
- Comments:15 (3 by maintainers)
Top Results From Across the Web
How To Format Code with Prettier in Visual Studio Code
With the Prettier extension installed, you can now leverage it to format your code. To start, let's explore using the Format Document command....
Read more >How to Add Prettier to a Project - Bits and Pieces
Prettier is a code formatter that automatically adjusts your code to adhere to well-defined conventions. Using tools like this is a great way...
Read more >Install - Prettier
Formatting from the command line is a good way to get started, but you get the most from Prettier by running it from...
Read more >How to set up Prettier and automatic formatting on VS Code
Below is an easy way to set up Prettier on your VS Code and allow automatic formatting. Step 1: Install Prettier. Click on...
Read more >How to configure Prettier and VSCode - Gleb Bahmutov
Make sure local workspace settings have auto-format on save enabled. Open . · Prettier extension might be disabled by VSCode. Make sure the...
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 Free
Top 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
You could say that about every single piece of functionality in the cli.
I would love to be asked when I run
ng new blah
if I want to add prettier to the project. That would make it so that people who want it can have it… and those who don’t… don’t.Prettier makes these never-ending tslint errors go away.