Skip to content

Commit

Permalink
feat(linter/typescript): support consistent-type-imports rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Jan 13, 2024
1 parent 63376dd commit 7933eb0
Show file tree
Hide file tree
Showing 2 changed files with 1,262 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ mod typescript {
pub mod ban_ts_comment;
pub mod ban_types;
pub mod consistent_type_exports;
pub mod consistent_type_imports;
pub mod no_duplicate_enum_values;
pub mod no_empty_interface;
pub mod no_explicit_any;
Expand Down Expand Up @@ -369,6 +370,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::ban_ts_comment,
typescript::ban_types,
typescript::consistent_type_exports,
typescript::consistent_type_imports,
typescript::no_duplicate_enum_values,
typescript::no_empty_interface,
typescript::no_explicit_any,
Expand Down

0 comments on commit 7933eb0

Please sign in to comment.