mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
a7ac89935b
This commits stabilizes CSS, HTML and YAML formatters in `deno fmt`. It is no longer required to use either of these flags: - `--unstable-css` - `--unstable-html` - `--unstable-yaml` Or these `unstable` options in the config file: - `fmt-css` - `fmt-html` - `html-yaml`
25 lines
584 B
Text
25 lines
584 B
Text
{
|
|
"tempDir": true,
|
|
"tests": {
|
|
"nothing": {
|
|
"args": "fmt",
|
|
"output": "Checked 1 file\n"
|
|
},
|
|
"flag": {
|
|
"args": "fmt --unstable-component",
|
|
"output": "[WILDLINE]badly_formatted.svelte\nChecked 1 file\n"
|
|
},
|
|
"config_file": {
|
|
"steps": [{
|
|
"args": [
|
|
"eval",
|
|
"Deno.writeTextFile('deno.json', '{\\n \"unstable\": [\"fmt-component\"]\\n}\\n')"
|
|
],
|
|
"output": "[WILDCARD]"
|
|
}, {
|
|
"args": "fmt",
|
|
"output": "[WILDLINE]badly_formatted.svelte\nChecked 2 files\n"
|
|
}]
|
|
}
|
|
}
|
|
}
|