Skip to content

Commit 08b236b

Browse files
authored
Revert "fix(fmt): upgrade markup_fmt and malva" (#29325)
Reverts #29168 Ref: g-plane/malva#34
1 parent 637bcff commit 08b236b

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ env_logger = "=0.11.6"
296296
eszip = "=0.88.0"
297297
fancy-regex = "=0.14.0"
298298
libsui = "0.10.0"
299-
malva = "=0.12.0"
300-
markup_fmt = "=0.20.0"
299+
malva = "=0.11.2"
300+
markup_fmt = "=0.19.1"
301301
open = "5.0.1"
302302
pathdiff = "0.2.1"
303303
pretty_yaml = "=0.5.0"

cli/tools/fmt.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,6 @@ fn format_embedded_css(
618618
selector_override_comment_directive: "malva-selector-override".into(),
619619
ignore_comment_directive: "malva-ignore".into(),
620620
ignore_file_comment_directive: "malva-ignore-file".into(),
621-
declaration_order_group_by:
622-
config::DeclarationOrderGroupBy::NonDeclarationAndEmptyLine,
623621
},
624622
};
625623
// Wraps the text in a css block of `a { ... }`
@@ -722,7 +720,6 @@ fn format_embedded_html(
722720
script_formatter: None,
723721
ignore_comment_directive: "deno-fmt-ignore".into(),
724722
ignore_file_comment_directive: "deno-fmt-ignore-file".into(),
725-
single_attr_same_line: true,
726723
},
727724
};
728725
let text = markup_fmt::format_text(
@@ -1477,8 +1474,6 @@ fn get_resolved_malva_config(
14771474
selector_override_comment_directive: "deno-fmt-selector-override".into(),
14781475
ignore_comment_directive: "deno-fmt-ignore".into(),
14791476
ignore_file_comment_directive: "deno-fmt-ignore-file".into(),
1480-
declaration_order_group_by:
1481-
DeclarationOrderGroupBy::NonDeclarationAndEmptyLine,
14821477
};
14831478

14841479
FormatOptions {
@@ -1539,7 +1534,6 @@ fn get_resolved_markup_fmt_config(
15391534
astro_attr_shorthand: Some(true),
15401535
ignore_comment_directive: "deno-fmt-ignore".into(),
15411536
ignore_file_comment_directive: "deno-fmt-ignore-file".into(),
1542-
single_attr_same_line: true,
15431537
};
15441538

15451539
FormatOptions {

0 commit comments

Comments
 (0)