Skip to content

Commit

Permalink
feat(linter): implement @typescript-eslint/explicit-function-return-type
Browse files Browse the repository at this point in the history
  • Loading branch information
kaykdm committed Jun 1, 2024
1 parent ff7e8c7 commit 7f5e41e
Show file tree
Hide file tree
Showing 3 changed files with 2,809 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 @@ -125,6 +125,7 @@ mod typescript {
pub mod ban_types;
pub mod consistent_indexed_object_style;
pub mod consistent_type_definitions;
pub mod explicit_function_return_type;
pub mod no_duplicate_enum_values;
pub mod no_empty_interface;
pub mod no_explicit_any;
Expand Down Expand Up @@ -520,6 +521,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::prefer_ts_expect_error,
typescript::triple_slash_reference,
typescript::prefer_literal_enum_member,
typescript::explicit_function_return_type,
jest::expect_expect,
jest::max_expects,
jest::no_alias_methods,
Expand Down
Loading

0 comments on commit 7f5e41e

Please sign in to comment.