From 124a13280e3d71ed14ef0899b7bfd012f82ceb6e Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 2 Aug 2024 20:12:51 +0800 Subject: feat(fmt): support YAML (#24717) --- cli/args/flags.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/args/flags.rs') diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 59e535ee0..75987e9d0 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -2002,7 +2002,8 @@ Ignore formatting a file by adding an ignore comment at the top of the file: // prefer using ts for formatting instead of js because ts works in more scenarios .default_value("ts") .value_parser([ - "ts", "tsx", "js", "jsx", "md", "json", "jsonc", "ipynb", + "ts", "tsx", "js", "jsx", "md", "json", "jsonc", "yml", "yaml", + "ipynb", ]), ) .arg( -- cgit v1.2.3