jest-runner-prettier
parallel-prettier
jest-runner-prettier | parallel-prettier | |
---|---|---|
1 | 2 | |
90 | 191 | |
- | 1.0% | |
0.0 | 3.6 | |
10 days ago | 7 months ago | |
TypeScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jest-runner-prettier
-
Speeding up Prettier locally using the new –cache CLI option
You can run it through jest:
https://github.com/keplersj/jest-runner-prettier
Or run it through eslint through jest (which is what we do):
https://github.com/jest-community/jest-runner-eslint
https://www.npmjs.com/package/eslint-plugin-prettier
Either way gets you parallelism from jest. Personally I like the approach of using jest for all the "match files and run actions" logic (tests, lint etc) and then eslint for all the kinds of linting and formatting.
We then configure VSCode to lint autofix on save and get a really nice experience.
parallel-prettier
-
10k Bounty for Rewriting Prettier in Rust
Prettier runs on a single thread only. Running it on each thread could make it significantly faster [0].
[0]: https://github.com/microsoft/parallel-prettier
-
Speeding up Prettier locally using the new –cache CLI option
There are third party options you could try like this one (no personal experience): https://github.com/microsoft/parallel-prettier
Alternatively, it’s pretty common to only run prettier on changed files using lint-staged or pretty-quick.
What are some alternatives?
Joplin.Plugin.ReMoods.Theme - [NO LONGER MAINTAINED]
prettierd - prettier, as a daemon, for improved formatting speed.
jest-runner-eslint - An ESLint runner for Jest
prettier-plugin-astro-organize-imports - A Prettier plugin for formatting imports in Astro files
jsonlint.com - [OLD] Please go to new source, link below.
typescript-starter - Quickly create and configure a new library or Node.js project
prettier-plugin-go-template - Fixes prettier formatting for go templates 🐹