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/css/__test__.jsonc | 5 +++++ tests/specs/fmt/css/badly_formatted.css | 1 + 2 files changed, 6 insertions(+) create mode 100644 tests/specs/fmt/css/__test__.jsonc create mode 100644 tests/specs/fmt/css/badly_formatted.css (limited to 'tests/specs/fmt/css') diff --git a/tests/specs/fmt/css/__test__.jsonc b/tests/specs/fmt/css/__test__.jsonc new file mode 100644 index 000000000..e58818fbe --- /dev/null +++ b/tests/specs/fmt/css/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "tempDir": true, + "args": "fmt", + "output": "[WILDLINE]badly_formatted.css\nChecked 1 file\n" +} diff --git a/tests/specs/fmt/css/badly_formatted.css b/tests/specs/fmt/css/badly_formatted.css new file mode 100644 index 000000000..e57adb796 --- /dev/null +++ b/tests/specs/fmt/css/badly_formatted.css @@ -0,0 +1 @@ +#app>.btn{ color : #000 } -- cgit v1.2.3