jest-runner-prettier
jest-runner-eslint
jest-runner-prettier | jest-runner-eslint | |
---|---|---|
1 | 2 | |
90 | 477 | |
- | 0.4% | |
0.0 | 7.5 | |
10 days ago | about 1 month ago | |
TypeScript | JavaScript | |
- | 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.
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
What are some alternatives?
Joplin.Plugin.ReMoods.Theme - [NO LONGER MAINTAINED]
eslint-plugin-prettier - ESLint plugin for Prettier formatting
jsonlint.com - [OLD] Please go to new source, link below.
JS-Beautifier - Beautifier for javascript
parallel-prettier - Concurrent prettier runner
check - GitHub action for running `dprint check`.
cache - Cache dependencies and build outputs in GitHub Actions
dprint-plugin-typescript - TypeScript and JavaScript code formatting plugin for dprint.
dprint-vscode - Visual Studio Code extension for formatting code with dprint.