Skip to content

Commit be76542

Browse files
committed
feat(linter): implement typescript/consistent-generic-constructors
1 parent ef62b9d commit be76542

File tree

3 files changed

+935
-0
lines changed

3 files changed

+935
-0
lines changed

crates/oxc_linter/src/rules.rs

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ mod typescript {
155155
pub mod ban_ts_comment;
156156
pub mod ban_tslint_comment;
157157
pub mod ban_types;
158+
pub mod consistent_generic_constructors;
158159
pub mod consistent_indexed_object_style;
159160
pub mod consistent_type_definitions;
160161
pub mod consistent_type_imports;
@@ -848,6 +849,7 @@ oxc_macros::declare_all_lint_rules! {
848849
typescript::ban_ts_comment,
849850
typescript::ban_tslint_comment,
850851
typescript::ban_types,
852+
typescript::consistent_generic_constructors,
851853
typescript::consistent_indexed_object_style,
852854
typescript::consistent_type_definitions,
853855
typescript::consistent_type_imports,

0 commit comments

Comments
 (0)