question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add prettier for better format

See original GitHub issue

Bug 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:closed
  • Created 6 years ago
  • Reactions:63
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
aaronfrostcommented, Nov 14, 2017

You could say that about every single piece of functionality in the cli.

9reactions
aaronfrostcommented, Nov 14, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found