diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-23 17:01:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 18:01:04 +0200 |
| commit | a7ac89935b092f86245ce0370042f4bef14ad82d (patch) | |
| tree | 01a3cba6b7f83c65e0318a8e7eef69d46a7f82ed /tests/specs/fmt/unstable_css | |
| parent | be13da5d8d08c105e73bc966f681a02b863903d1 (diff) | |
feat(fmt): stabilize CSS, HTML and YAML formatters (#25753)
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`
Diffstat (limited to 'tests/specs/fmt/unstable_css')
| -rw-r--r-- | tests/specs/fmt/unstable_css/__test__.jsonc | 25 | ||||
| -rw-r--r-- | tests/specs/fmt/unstable_css/badly_formatted.css | 1 |
2 files changed, 0 insertions, 26 deletions
diff --git a/tests/specs/fmt/unstable_css/__test__.jsonc b/tests/specs/fmt/unstable_css/__test__.jsonc deleted file mode 100644 index 32259f3ae..000000000 --- a/tests/specs/fmt/unstable_css/__test__.jsonc +++ /dev/null @@ -1,25 +0,0 @@ -{ - "tempDir": true, - "tests": { - "nothing": { - "args": "fmt", - "output": "Checked 1 file\n" - }, - "flag": { - "args": "fmt --unstable-css", - "output": "[WILDLINE]badly_formatted.css\nChecked 1 file\n" - }, - "config_file": { - "steps": [{ - "args": [ - "eval", - "Deno.writeTextFile('deno.json', '{\\n \"unstable\": [\"fmt-css\"]\\n}\\n')" - ], - "output": "[WILDCARD]" - }, { - "args": "fmt", - "output": "[WILDLINE]badly_formatted.css\nChecked 2 files\n" - }] - } - } -} diff --git a/tests/specs/fmt/unstable_css/badly_formatted.css b/tests/specs/fmt/unstable_css/badly_formatted.css deleted file mode 100644 index e57adb796..000000000 --- a/tests/specs/fmt/unstable_css/badly_formatted.css +++ /dev/null @@ -1 +0,0 @@ -#app>.btn{ color : #000 } |
