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` --- cli/lsp/language_server.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cli/lsp/language_server.rs') diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index f8fffd292..a1cc5079d 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -1385,18 +1385,9 @@ impl Inner { .data_for_specifier(&specifier) .map(|d| &d.member_dir.workspace); let unstable_options = UnstableFmtOptions { - css: maybe_workspace - .map(|w| w.has_unstable("fmt-css")) - .unwrap_or(false), - html: maybe_workspace - .map(|w| w.has_unstable("fmt-html")) - .unwrap_or(false), component: maybe_workspace .map(|w| w.has_unstable("fmt-component")) .unwrap_or(false), - yaml: maybe_workspace - .map(|w| w.has_unstable("fmt-yaml")) - .unwrap_or(false), }; let document = document.clone(); move || { -- cgit v1.2.3