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.

Output differs when using `prettierd` and `prettier`

See original GitHub issue

Using prettierd through neoformat in latest NeoVim build. Output between prettierd and prettier formatters seems to differ.

Screenshot:

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fsouzacommented, Apr 10, 2022

Published 0.20.0 with the features mentioned above.

0reactions
fsouzacommented, Apr 10, 2022

Oh thanks for confirming. I’ll keep this issue open to add a new command/flag that will allow users to tell exactly what version of prettier will be used, where it was loaded from and whether that was found in the cache or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add diff in output of --check (for CI use cases) #6885 - GitHub
A bot that automatically runs Prettier on PRs. this changes the PR - the user should have information about the problems. You could...
Read more >
Rationale - Prettier
The first requirement of Prettier is to output valid code that has the exact ... Just like with objects, decorators are used for...
Read more >
Options - Prettier
Prettier ships with a handful of format options. ... used will be used to format the string - Example: "I'm double quoted" results...
Read more >
CLI - Prettier
Use the `prettier` command to run Prettier from the command line. ... use Prettier code style! Console output if some of the files...
Read more >
Configuration File - Prettier
Otherwise, Prettier wouldn't be able to guarantee that everybody in a team gets the same consistent results. The options you can use in...
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