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 /cli/lsp/language_server.rs | |
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 'cli/lsp/language_server.rs')
-rw-r--r-- | cli/lsp/language_server.rs | 9 |
1 files changed, 0 insertions, 9 deletions
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 || { |