You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): stop injecting -c config for oxlint/oxfmt
oxlint 1.60.0 and oxfmt 0.45.0 auto-discover the nearest
vite.config.ts from cwd up (gated by VP_VERSION, which vp injects via
merge_resolved_envs_with_version and the bin wrappers). Injecting
`-c <root vite.config.ts>` broke the nested-workspace case: running
`vp lint` / `vp fmt` from a sub-package applied the root config
instead of the sub-package's own config.
Drop the -c injection from the Lint/Fmt resolver arms and propagate
the now-unused resolved_vite_config parameter removal through
resolve_and_execute, resolve_and_capture_output, and their callers.
resolve_universal_vite_config() stays for check/mod.rs's
LintMessageKind derivation.
Snapshot updates:
- nested-oxc-config-proj-1: both vp lint and vp fmt --check pass when
run from packages/proj-1 (regression test for oxc-project/oxc#20416).
- workspace-lint-subpackage: sub-package's no-console:off now wins
over root's no-console:warn as documented.
Closesoxc-project/oxc#20416
0 commit comments