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 Nov 13, 2024
1 parent 2268a0e commit 9c91151
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 9c91151

Please sign in to comment.