Skip to content

Commit

Permalink
feat(linter): implement @typescript-eslint/explicit-function-return-t…
Browse files Browse the repository at this point in the history
  • Loading branch information
kaykdm and Boshen committed Jun 12, 2024
1 parent b58d8eb commit 29c78db
Show file tree
Hide file tree
Showing 4 changed files with 2,821 additions and 0 deletions.
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ labeledby = "labeledby"

[default.extend-identifiers]
IIFEs = "IIFEs"
allowIIFEs = "allowIIFEs"
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,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 @@ -531,6 +532,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::max_nested_describe,
Expand Down
Loading

0 comments on commit 29c78db

Please sign in to comment.