Boshen
1193c9dbaf
chore(oxfmt): dogfood operator position at line start ( #25937 )
...
dogfood
2026-08-20 14:36:47 +00:00
Boshen
00e1b762e0
refactor(diagnostics): vendor oxc-miette ( #25499 )
...
We no longer need to maintain the `oxc-miette` repo as most of the code is now removed, the remaining code is minimal and can be vendored.
2026-08-11 08:04:02 +00:00
leaysgur
be7f6da49a
feat(oxfmt): colorize diff file list in check mode ( #25061 )
...
Fixes #25018
2026-07-29 06:00:25 +00:00
leaysgur
d7c222dc54
test(oxfmt): remove unicode-ascii replaces ( #24895 )
...
Now it is forced by env var.
2026-07-24 09:27:12 +00:00
leaysgur
6e29c56baf
test(oxfmt): Fix windows snapshots for Vite+ diagnostics ( #22635 )
...
Fixes https://github.com/oxc-project/oxc/actions/runs/26157008185/job/76938896278
2026-05-21 01:42:28 +00:00
leaysgur
16b8058cd6
feat(oxfmt): Support vite-plus/resolveConfig for vite.config.ts ( #22454 )
...
Closes #21603 , fixes #21418
To simplify the review process, I'll first add support to Oxfmt.
In the next PR, I'll move that implementation to `shared`.
2026-05-20 08:21:37 +00:00
leaysgur
5f685f1961
test(oxfmt): Show generated .gitignore in the tree snapshot ( #22208 )
2026-05-07 06:20:06 +00:00
leaysgur
c9b4db9ff7
test(oxfmt): Rework test/cli tests ( #21463 )
...
Switch to a fixture-based testing approach, similar to apps/oxlint.
2026-04-15 09:13:40 +00:00
leaysgur
e3081e12a9
feat(oxfmt): Gate vite.config.ts recognition behind VP_VERSION env var ( #21295 )
...
Fixes #20416 for Oxfmt
- Gate `vite.config.ts` recognition behind `VP_VERSION` env var
- With it, only vite.config.ts is recognized
- Without it, excluded from config candidates (.oxfmtrc.json, oxfmt.config.ts are used)
- Refactor JS config loader into `loadJsConfig` / `loadVitePlusConfig` with shared `importJsConfig` helper
- `loadVitePlusConfig` should be updated to use `resolveConfig` from `vite-plus` soon
- Split tests into `vite_config` (non VP mode) and `vite_plus` (VP mode)
2026-04-13 01:10:46 +00:00
leaysgur
ca1169fbb1
chore(oxfmt): Add comments for test/cli/utils ( #19805 )
2026-02-27 04:52:19 +00:00
leaysgur
e7572aaf8a
test(oxfmt): Add snapshot for invalid file error reports ( #19802 )
...
Just adding tests for sure.
..., but to do so, we need to force dumb theme for `miette`.
2026-02-27 04:40:12 +00:00
leaysgur
9d96cc6f7a
fix(oxfmt): Use std(out/err)._handle.setBlocking(true) to handle WouldBlock error in Rust ( #17950 )
...
Fixes #17939 , closes #17943 and #17946 .
2026-01-13 05:40:13 +00:00
leaysgur
1a02f6ee8c
test(oxfmt): Arrange test files and directries ( #17822 )
...
Sorry for the large diff! 🙇🏻
But it's mostly just file relocations (and path updates).
Details on the changes are also documented in [`AGENTS.md`](https://github.com/oxc-project/oxc/pull/17822/changes#diff-b9a8ddc83e0b93133df7274e37b5fcdaec808090721eec2194782fe968819e69 ), so please refer to that file.
TL;DR: I wanted to colocate test cases and fixtures in the same directory.
2026-01-09 15:11:35 +00:00