Skip to content

Commit

Permalink
feat(linter): implement typescript/consistent-generic-constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
camc314 committed Nov 26, 2024
1 parent ef62b9d commit be76542
Show file tree
Hide file tree
Showing 3 changed files with 935 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 @@ -155,6 +155,7 @@ mod typescript {
pub mod ban_ts_comment;
pub mod ban_tslint_comment;
pub mod ban_types;
pub mod consistent_generic_constructors;
pub mod consistent_indexed_object_style;
pub mod consistent_type_definitions;
pub mod consistent_type_imports;
Expand Down Expand Up @@ -848,6 +849,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::ban_ts_comment,
typescript::ban_tslint_comment,
typescript::ban_types,
typescript::consistent_generic_constructors,
typescript::consistent_indexed_object_style,
typescript::consistent_type_definitions,
typescript::consistent_type_imports,
Expand Down
Loading

0 comments on commit be76542

Please sign in to comment.