Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ze-Zheng Wu <[email protected]>
  • Loading branch information
Conaclos and Sec-ant committed Jun 11, 2024
1 parent 5d37f46 commit d0ad627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/biome_js_analyze/src/lint/style/use_import_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ declare_rule! {
/// If you are using the TypeScript Compiler (TSC) to transpile your code into JavaScript,
/// then you can disable this rule, as TSC is able to remove imports that are only used as types.
/// However, for consistency and compatibility with other transpilers, you nay want to enable this rule.
/// In that case we recommend to enable TSC's [verbatimModuleSyntax](https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax).
/// In that case we recommend to enable TSC's [`verbatimModuleSyntax`](https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax).
/// This configuration ensures that TSC preserves imports that are not marked with the `type` qualifier.
///
/// You may also want to enable the editor setting [typescript.preferences.preferTypeOnlyAutoImports](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3-rc/#settings-to-prefer-type-auto-imports) from the TypeScript LSP.
/// You may also want to enable the editor setting [`typescript.preferences.preferTypeOnlyAutoImports`](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3-rc/#settings-to-prefer-type-auto-imports) from the TypeScript LSP.
/// This setting is available in Visual Studio Code.
/// It ensures that the `tyupe` is used when the editor automatically imports a type.
/// It ensures that the `type` is used when the editor automatically imports a type.
///
/// ## Caveat with TypeScript experimental decorators
///
Expand Down

0 comments on commit d0ad627

Please sign in to comment.