diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-17 18:26:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 18:26:23 +0100 |
commit | a14e9f55b4efc39689e1cc76b44bc6c1be51efa5 (patch) | |
tree | 0a62a88e21eb6647157fc1f948008793b67bf0e9 /cli/tools/fmt.rs | |
parent | 915b73571c40601b7f79fa4ee0f3035982e23b7f (diff) |
feat(fmt): sort type-only named import/exports last (#25690)
Closes #22583
Diffstat (limited to 'cli/tools/fmt.rs')
-rw-r--r-- | cli/tools/fmt.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index 2b8beda37..17ddf6c65 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -311,6 +311,7 @@ fn format_markdown( codeblock_config.line_width = line_width; dprint_plugin_typescript::format_text( &fake_filename, + None, text.to_string(), &codeblock_config, ) @@ -405,6 +406,7 @@ pub fn format_html( typescript_config.line_width = hints.print_width as u32; dprint_plugin_typescript::format_text( &path, + None, text.to_string(), &typescript_config, ) @@ -498,6 +500,7 @@ pub fn format_file( let config = get_resolved_typescript_config(fmt_options); dprint_plugin_typescript::format_text( file_path, + None, file_text.to_string(), &config, ) |