solid-software / solid_lints

🟧 Lints for Dart and Flutter based on software industry standards and best practices.
Other
36 stars 18 forks source link

Known issue with avoid-unused-parameters not supporting constructor checks #50

Closed DenisBogatirov closed 11 months ago

DenisBogatirov commented 11 months ago

Rule avoid-unused-parameters does not check constructor and factory for parameters usage. This originates from DCM.

Expected behavior: to check constructor and factory params in the same way as with methods and functions.

Possible solution to implement visitConstructorDeclaration in avoid_unused_parameters_visitor.dart