We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a2081 commit dc0ff73Copy full SHA for dc0ff73
crates/oxc_linter/src/rules/eslint/no_useless_constructor.rs
@@ -54,9 +54,10 @@ declare_oxc_lint!(
54
///
55
/// ::: warning
56
/// Caveat: This lint rule will report on constructors whose sole purpose
57
- /// is to change visibility of a parent constructor. This is because the rule
58
- /// does not have type information to determine if the parent constructor is
59
- /// `public`, `protected`, or `private`.
+ /// is to change the visibility of a parent constructor, or to expose parameter
+ /// properties with modifiers. This is because the rule does not have type
+ /// information to determine if the parent constructor is `public`, `protected`,
60
+ /// or `private`.
61
/// :::
62
63
/// ### Examples
0 commit comments