summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 65f9183d5..4a644cb09 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -282,6 +282,8 @@ impl BenchOptions {
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
pub struct UnstableFmtOptions {
pub css: bool,
+ pub html: bool,
+ pub component: bool,
pub yaml: bool,
}
@@ -316,6 +318,8 @@ impl FmtOptions {
options: resolve_fmt_options(fmt_flags, fmt_config.options),
unstable: UnstableFmtOptions {
css: unstable.css || fmt_flags.unstable_css,
+ html: unstable.html || fmt_flags.unstable_html,
+ component: unstable.component || fmt_flags.unstable_component,
yaml: unstable.yaml || fmt_flags.unstable_yaml,
},
files: fmt_config.files,
@@ -1339,6 +1343,8 @@ impl CliOptions {
let workspace = self.workspace();
UnstableFmtOptions {
css: workspace.has_unstable("fmt-css"),
+ html: workspace.has_unstable("fmt-html"),
+ component: workspace.has_unstable("fmt-component"),
yaml: workspace.has_unstable("fmt-yaml"),
}
}
@@ -1673,6 +1679,8 @@ impl CliOptions {
"byonm",
"bare-node-builtins",
"fmt-css",
+ "fmt-html",
+ "fmt-component",
"fmt-yaml",
]);
// add more unstable flags to the same vector holding granular flags