This repository is used to run integration tests for oxlint and oxfmt ecosystem projects. The workflows will be run on a scheduled basis and can also be triggered manually.
- Boshen may submit a
oxlintadjustment PR to your repository if it fails to run correctly. - Due to maintenance burden, a sponsorship will have a more likely hood of having the PR accepted.
- open workflow
- click 'Run workflow' button on top right of the list
- change
reffor a different branch
pnpm run clone:oxlint- clones all the repositoriespnpm run update:oxlint- updates (git pull) all the repositoriespnpm run test:oxlint /path/to/oxc/target/release/oxlint ARGS- runoxlint
See ./oxlint-matrix.json.
Notable repositories:
- rolldown/rolldown
- napi-rs/napi-rs
- toeverything/affine
- preactjs/preact
- microsoft/vscode
- bbc/simorgh
- elastic/kibana
- DefinitelyTyped/DefinitelyTyped
- Oxfmt can format the integrated repositories without any differences.
- Oxfmt does not drop any code in the formatting process.
- Oxfmt does not panic during the formatting process.
Each repository is formatted with 3 builds of oxfmt, and their diffs are compared:
| axis | compared against | meaning | fails the run |
|---|---|---|---|
oxfmt@latest (npm) |
repository | released version health | on panic or error |
main build |
oxfmt@latest |
preview of merged-but-unreleased changes | only on scheduled / push runs |
ref build |
main build |
changes introduced by the ref under test | always |
Comparing ref against a main-built baseline (instead of oxfmt@latest) keeps merged-but-unreleased changes out of PR results.
This is useful especially for a Prettier version bump.
- open workflow
- click 'Run workflow' button on top right of the list
- change
reffor a different branch
pnpm run clone:oxfmt- clones all the repositoriespnpm run update:oxfmt- updates (git pull) all the repositoriespnpm run test:oxfmt /path/to/oxc/target/release/oxfmt ARGS- runoxfmt
See ./oxfmt-matrix.json.