1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 14:24:48 -05:00
denoland-deno/tests/testdata/fmt/badly_formatted_fixed.svelte
Pig Fang 3a3315cc7f
feat(fmt): support HTML, Svelte, Vue, Astro and Angular (#25019)
This commit adds capability to format HTML, Svelte, Vue, Astro and Angular
files.

"--unstable-html" is required to format HTML files, and "--unstable-component"
flag is needed to format other formats. These can also be specified in the config
file.

Close #25015
2024-08-14 22:58:48 +02:00

10 lines
159 B
Svelte

<script lang="ts">
let a: number;
let b: number;
</script>
<div class:active style="width: 1px; height: 1px">{a + b}</div>
<style>
.active {}
</style>