Files
oxc-project__oxc/apps/oxfmt/test/cli/stdin_svelte/1.snap.md
2026-05-11 01:24:38 +00:00

387 B

Input

Command

oxfmt --stdin-filepath App.svelte --config ./fmt-without-svelte.json

File tree

- fixtures/ <CWD>
  - fmt-with-svelte.json
  - fmt-without-svelte.json
  - input.svelte

Result

Exit code

0

stdout

<script>let   count=$state(0);</script>
<button onclick={()=>count++}>{count}</button>

stderr


File changes

No changes