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

391 B

Input

Command

oxfmt --stdin-filepath App.svelte --config ./fmt-with-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