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/integration | |
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/integration')
-rw-r--r-- | tests/integration/lsp_tests.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/integration/lsp_tests.rs b/tests/integration/lsp_tests.rs index f2c40f8ea..2d8d88b27 100644 --- a/tests/integration/lsp_tests.rs +++ b/tests/integration/lsp_tests.rs @@ -10597,13 +10597,6 @@ fn lsp_format_markdown() { fn lsp_format_html() { let context = TestContextBuilder::new().use_temp_cwd().build(); let temp_dir = context.temp_dir(); - temp_dir.write( - "deno.json", - json!({ - "unstable": ["fmt-html"], - }) - .to_string(), - ); let html_file = source_file(temp_dir.path().join("file.html"), " <html></html>"); let mut client = context.new_lsp_command().build(); @@ -10644,13 +10637,6 @@ fn lsp_format_html() { fn lsp_format_css() { let context = TestContextBuilder::new().use_temp_cwd().build(); let temp_dir = context.temp_dir(); - temp_dir.write( - "deno.json", - json!({ - "unstable": ["fmt-css"], - }) - .to_string(), - ); let css_file = source_file(temp_dir.path().join("file.css"), " foo {}"); let mut client = context.new_lsp_command().build(); client.initialize_default(); @@ -10690,13 +10676,6 @@ fn lsp_format_css() { fn lsp_format_yaml() { let context = TestContextBuilder::new().use_temp_cwd().build(); let temp_dir = context.temp_dir(); - temp_dir.write( - "deno.json", - json!({ - "unstable": ["fmt-yaml"], - }) - .to_string(), - ); let yaml_file = source_file(temp_dir.path().join("file.yaml"), " foo: 1"); let mut client = context.new_lsp_command().build(); client.initialize_default(); |