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.

Use prettier for project?

See original GitHub issue

Right now prettier isn’t used by the project. Would be great if it is.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
RobJacobsoncommented, Oct 27, 2019

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.

0reactions
kennethnymcommented, Oct 26, 2019

https://github.com/prettier/prettier-eslint/issues/101
I think this should answer your question 😃

Read more comments on GitHub >

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

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