Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter/jsdoc): Implement require-param rule #3554

Merged
merged 10 commits into from
Jun 7, 2024
Merged
3 changes: 3 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ extend-exclude = [
"tasks/prettier_conformance/prettier",
]

[default]
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*spellchecker:disable-line$"]

[default.extend-words]
trivias = "trivias"
trivia = "trivia"
Expand Down
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ mod jsdoc {
pub mod empty_tags;
pub mod implements_on_classes;
pub mod no_defaults;
pub mod require_param;
pub mod require_property;
pub mod require_property_description;
pub mod require_property_name;
Expand Down Expand Up @@ -757,6 +758,7 @@ oxc_macros::declare_all_lint_rules! {
jsdoc::empty_tags,
jsdoc::implements_on_classes,
jsdoc::no_defaults,
jsdoc::require_param,
jsdoc::require_property,
jsdoc::require_property_type,
jsdoc::require_property_name,
Expand Down
Loading