Files
oxc-project__oxc/apps/oxfmt/test/cli/config_file/4.snap.md
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

527 B

Input

Command

oxfmt --check !*.{json,jsonc,ts} --config ./fmt.jsonc

File tree

- fixtures/ <CWD>
  - .oxfmtrc.json
  - .oxfmtrc.jsonc
  - fmt.config.ts
  - fmt.json
  - fmt.jsonc
  - nested/
    - .oxfmtrc.jsonc
    - deep/
      - test.js

Result

Exit code

1

stdout

Checking formatting...

nested/deep/test.js (<time>)

Format issues found in above 1 files. Run without `--check` to fix.
Finished in <time> on 1 files using 1 threads.

stderr


File changes

No changes