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 Mar 22, 2024
1 parent 1c07a99 commit 011e290
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 @@ -124,6 +124,7 @@ mod typescript {
pub mod ban_ts_comment;
pub mod ban_tslint_comment;
pub mod ban_types;
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 @@ -445,6 +446,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::ban_ts_comment,
typescript::ban_tslint_comment,
typescript::ban_types,
typescript::consistent_type_imports,
typescript::no_duplicate_enum_values,
typescript::no_empty_interface,
typescript::no_explicit_any,
Expand Down

0 comments on commit 011e290

Please sign in to comment.