mirror of
https://github.com/denoland/deno.git
synced 2025-10-01 22:51:14 +00:00
feat(fmt): sort type-only named import/exports last (#25690)
Closes #22583
This commit is contained in:
parent
915b73571c
commit
a14e9f55b4
11 changed files with 15 additions and 12 deletions
|
@ -102,7 +102,7 @@ dotenvy = "0.15.7"
|
|||
dprint-plugin-json = "=0.19.3"
|
||||
dprint-plugin-jupyter = "=0.1.3"
|
||||
dprint-plugin-markdown = "=0.17.8"
|
||||
dprint-plugin-typescript = "=0.91.7"
|
||||
dprint-plugin-typescript = "=0.92.0"
|
||||
env_logger = "=0.10.0"
|
||||
fancy-regex = "=0.10.0"
|
||||
faster-hex.workspace = true
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue