Files
oxc-project__oxc/apps/oxfmt/test/cli/vite_plus/1.snap.md
leaysgur 87e0970e7a test(oxfmt): fix windows ci (#25069)
It seems that picocolors, which Vite uses, always outputs color.
2026-07-29 09:13:56 +00:00

746 B

Input

Command

VP_VERSION=1 NO_COLOR=1 oxfmt --check --config vite.config.ts test.ts

File tree

- fixtures/
  - basic/
    - test.ts
    - vite.config.ts
  - error_load_failure/
    - .oxfmtrc.json
    - child/
      - test.ts
      - vite.config.ts
  - fn_export/
    - test.ts
    - vite.config.ts
  - no_fmt_field/ <CWD>
    - test.ts
    - vite.config.ts
  - priority/
    - oxfmt.config.ts
    - test.ts
    - vite.config.ts
  - skip_finds_parent/
    - .oxfmtrc.json
    - child/
      - test.ts
      - vite.config.ts

Result

Exit code

1

stdout


stderr

Failed to load configuration file.
Expected a `fmt` field in the default export of <cwd>/vite.config.ts

File changes

No changes