Skip to content

Commit

Permalink
feat(linter/jsdoc): Implement require-returns rule (#3218)
Browse files Browse the repository at this point in the history
  • Loading branch information
leaysgur authored May 23, 2024
1 parent ff4252a commit 3a5f088
Show file tree
Hide file tree
Showing 5 changed files with 3,132 additions and 2 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 @@ -381,6 +381,7 @@ mod jsdoc {
pub mod require_property_description;
pub mod require_property_name;
pub mod require_property_type;
pub mod require_returns;
pub mod require_yields;
}

Expand Down Expand Up @@ -732,6 +733,7 @@ oxc_macros::declare_all_lint_rules! {
jsdoc::require_property_type,
jsdoc::require_property_name,
jsdoc::require_property_description,
jsdoc::require_returns,
jsdoc::require_yields,
tree_shaking::no_side_effects_in_initialization,
}
Loading

0 comments on commit 3a5f088

Please sign in to comment.