From a7ac89935b092f86245ce0370042f4bef14ad82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 23 Sep 2024 17:01:04 +0100 Subject: 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` --- tests/specs/fmt/html/__test__.jsonc | 5 +++++ tests/specs/fmt/html/badly_formatted.html | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/specs/fmt/html/__test__.jsonc create mode 100644 tests/specs/fmt/html/badly_formatted.html (limited to 'tests/specs/fmt/html') diff --git a/tests/specs/fmt/html/__test__.jsonc b/tests/specs/fmt/html/__test__.jsonc new file mode 100644 index 000000000..cec29d1b3 --- /dev/null +++ b/tests/specs/fmt/html/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "tempDir": true, + "args": "fmt --unstable-html", + "output": "[WILDLINE]badly_formatted.html\nChecked 1 file\n" +} diff --git a/tests/specs/fmt/html/badly_formatted.html b/tests/specs/fmt/html/badly_formatted.html new file mode 100644 index 000000000..de7706ac7 --- /dev/null +++ b/tests/specs/fmt/html/badly_formatted.html @@ -0,0 +1,9 @@ +
content
+ + + + -- cgit v1.2.3