fix(js): test on node 20-22; format TS with biomejs #1987 #1995 #1988
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(js): test on node 20-22; format TS with biomejs #1987 #1995
This speeds up formatting by 4-12x and fixes several formatting related
issues whether they have to do with the commit message, source code, or
license headers. This means faster CI and pre-commits.
Also updates GitHub actions configuration to run tests for these node
versions:
ISSUE: #1987
ISSUE: #1995
CHANGELOG:
pnpm run format
to use biomejspnpm run format:check
to use biomejsbin/add_license
to add license headers.py/
andgo/
runtimes from the formatter.tests run on node version 20-23.
bin/setup
to default to node 22.BENCHMARKS:
A sample run follows:
REFERENCES:
The configuration for the formatting is more or less based on the Google
TypeScript formatting guidelines at:
Checklist (if applicable):