Skip to content

Commit 49d31fa

Browse files
authored
fix(fmt): upgrade formatters (#26469)
Fixes #25926 Fixes #26004
1 parent 9696e0b commit 49d31fa

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ libc.workspace = true
130130
libz-sys.workspace = true
131131
log = { workspace = true, features = ["serde"] }
132132
lsp-types.workspace = true
133-
malva = "=0.10.1"
134-
markup_fmt = "=0.13.1"
133+
malva = "=0.11.0"
134+
markup_fmt = "=0.14.0"
135135
memmem.workspace = true
136136
monch.workspace = true
137137
notify.workspace = true

cli/tools/fmt.rs

+2
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ fn get_resolved_malva_config(
978978
single_line_top_level_declarations: false,
979979
selector_override_comment_directive: "deno-fmt-selector-override".into(),
980980
ignore_comment_directive: "deno-fmt-ignore".into(),
981+
ignore_file_comment_directive: "deno-fmt-ignore-file".into(),
981982
};
982983

983984
FormatOptions {
@@ -1036,6 +1037,7 @@ fn get_resolved_markup_fmt_config(
10361037
svelte_directive_shorthand: Some(true),
10371038
astro_attr_shorthand: Some(true),
10381039
ignore_comment_directive: "deno-fmt-ignore".into(),
1040+
ignore_file_comment_directive: "deno-fmt-ignore-file".into(),
10391041
};
10401042

10411043
FormatOptions {

0 commit comments

Comments
 (0)