Skip to content

Commit

Permalink
feat(linter): implement typescript/no-empty-object-type (#6977)
Browse files Browse the repository at this point in the history
  • Loading branch information
Orenbek authored and Dunqing committed Nov 18, 2024
1 parent e15850f commit 7a1e0f9
Show file tree
Hide file tree
Showing 3 changed files with 629 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 @@ -159,6 +159,7 @@ mod typescript {
pub mod no_duplicate_enum_values;
pub mod no_dynamic_delete;
pub mod no_empty_interface;
pub mod no_empty_object_type;
pub mod no_explicit_any;
pub mod no_extra_non_null_assertion;
pub mod no_extraneous_class;
Expand Down Expand Up @@ -841,6 +842,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::no_duplicate_enum_values,
typescript::no_dynamic_delete,
typescript::no_empty_interface,
typescript::no_empty_object_type,
typescript::no_explicit_any,
typescript::no_extra_non_null_assertion,
typescript::no_extraneous_class,
Expand Down
Loading

0 comments on commit 7a1e0f9

Please sign in to comment.