Prettier solution
See original GitHub issueFeature request
Is your feature request related to a problem? Please describe.
The Prettier code check has been failing recently and we have to fix it down the line.
Describe the solution you’d like
Have npm run prettier
in package.json that checks and edits all of the files that Prettier would check on Github. Also adding into DEVELOPERS.md on all the steps you need to do before opening a PR. This would be best because people would only have to run once and we will stop having to fix it later down the line.
Additional context
let me know what you think.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
CLI - Prettier
This rewrites all processed files in place. This is comparable to the eslint --fix workflow. You can also use -w alias. --loglevel.
Read more >Code prettier eslint --fix Formatted Code - GitHub
This solution. This formats your code via prettier , and then passes the result of that to eslint --fix . This way you...
Read more >Using Prettier and ESLint to automate formatting and fixing ...
Learn how to use ESLint and Prettier together to automatically format and fix JavaScript code in your projects.
Read more >Prettier | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA adds this action as soon as you install Prettier as a ... or quick-fix) and the code that is already processed...
Read more >How to configure Prettier and VSCode - Gleb Bahmutov
You can configure JavaScript code auto-formatting with Prettier to work ... I prefer to use two solutions described in this blog post:.
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
I’ve configured the repository to disallow merges to master that don’t pass the prettier check-I believe this covers all the scenarios raised thus far on this thread.
Going to close this out-lmk if there are cases that haven’t been handled.
you could do that with a pre-commit git hook,