jest-runner-eslint
dprint-plugin-typescript
Our great sponsors
jest-runner-eslint | dprint-plugin-typescript | |
---|---|---|
2 | 1 | |
476 | 237 | |
0.0% | 1.3% | |
7.7 | 8.1 | |
21 days ago | 11 days ago | |
JavaScript | Rust | |
MIT License | 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-eslint
-
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.
-
Running prettier 40x faster than prettier CLI using dprint
We run prettier through eslint, and run eslint through jest which provides parallelism. eslint also has a cache... So I'm not sure what dprint gets you over that?
https://github.com/jest-community/jest-runner-eslint
https://github.com/prettier/eslint-plugin-prettier
dprint-plugin-typescript
-
Running prettier 40x faster than prettier CLI using dprint
Great to see dprint on the front page! While here it's speeding up prettier with caching/wasm, it can replace prettier altogether and be even faster (for with `dprint-plugin-typescript` for TS/JS dev). So, if you are doing web dev and not yet ready to switch to Deno, you can at least speed up formatting by using `dprint`.
David, I already owe you guys more beer than I can buy for all the great work on the Deno toolchain, but if we could get this issue[1] with HTML template tags going, it would be easier for me to convince the Lit crowd to chip in. Tanks again for the great work!
[1] https://github.com/dprint/dprint-plugin-typescript/issues/9
What are some alternatives?
eslint-plugin-prettier - ESLint plugin for Prettier formatting
JS-Beautifier - Beautifier for javascript
dprint-vscode - Visual Studio Code extension for formatting code with dprint.
parallel-prettier - Concurrent prettier runner
check - GitHub action for running `dprint check`.
jest-runner-prettier - Prettier runner for Jest
cache - Cache dependencies and build outputs in GitHub Actions