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 31, 2024
1 parent 5fb5d8a commit 2a15f4a
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 @@ -102,6 +102,7 @@ mod typescript {
pub mod adjacent_overload_signatures;
pub mod ban_ts_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 @@ -391,6 +392,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::adjacent_overload_signatures,
typescript::ban_ts_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 2a15f4a

Please sign in to comment.