Skip to content

Commit

Permalink
feat(linter): add typescript/no-require-imports rule (#7315)
Browse files Browse the repository at this point in the history
  • Loading branch information
pumano authored Nov 21, 2024
1 parent df143ca commit be152c0
Show file tree
Hide file tree
Showing 3 changed files with 633 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 @@ -170,6 +170,7 @@ mod typescript {
pub mod no_non_null_asserted_nullish_coalescing;
pub mod no_non_null_asserted_optional_chain;
pub mod no_non_null_assertion;
pub mod no_require_imports;
pub mod no_this_alias;
pub mod no_unnecessary_type_constraint;
pub mod no_unsafe_declaration_merging;
Expand Down Expand Up @@ -849,6 +850,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::no_non_null_asserted_nullish_coalescing,
typescript::no_non_null_asserted_optional_chain,
typescript::no_non_null_assertion,
typescript::no_require_imports,
typescript::no_this_alias,
typescript::no_unnecessary_type_constraint,
typescript::no_unsafe_declaration_merging,
Expand Down
Loading

0 comments on commit be152c0

Please sign in to comment.