[label-has-associated-control] Allow overriding of default label inputs #2359
Labels
package: eslint-plugin-template
Angular Template rules
triage
This issue needs to be looked at and categorized by a maintainer
Description and reproduction of the issue
The [label-has-associated-control] rule hard codes the default inputs to check for on label elements. It would be great to allow users to override the defaults. This would allow projects to lint labels that rely on custom directives to hook into custom controls.
Suggestion to have the ability to declare the rule like this:
so that the following would be valid:
Versions
@angular-eslint/eslint-plugin-template
19.3.0
The text was updated successfully, but these errors were encountered: