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.

I would like to implement the use of prettier, so when I’m working with the code, I don’t need to run commands like yarn standard --fix and just use Format on save in VSCode

I’m interested to create a PR for that

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
pioardicommented, Jan 16, 2021

Yes so currently any commit on any branch will run a GitHub action with this command “npm run tests”. For some reason this is not fully working when the branch is a fork ( but is another story, I will look into that soon ). So let’s close the issue and merge the branch 😃

This is a GitHub action that is started automatically https://github.com/pioardi/poolifier/actions/runs/490256128

1reaction
pioardicommented, Jan 15, 2021

Oh wow, nice job @Shinigami92 , so we now just need to figure out how to “spaceBeforeFunctionParen”: true. I will check if standard task will fail in case there is no space, if it does not fail we can also go ahead in this way

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prettier · Opinionated Code Formatter
What is Prettier? An opinionated code formatter; Supports many languages; Integrates with most editors ... Works with the Tools You Use. JavaScript.
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 >
Prettier - Code formatter - Visual Studio Marketplace
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that...
Read more >
How To Format Code with Prettier in Visual Studio Code
Step 1 — Using the Format Document Command. With the Prettier extension installed, you can now leverage it to format your code. To...
Read more >
How To Use Prettier in VS Code - Alphr
1. Open VS Code and press the Extensions icon. 2. Input “Prettier” in the search bar and hit the magnifying glass icon. 3....
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