[@angular-eslint/template/i18n] Request: Only check for string or unknown typed attributes #1565
Open
2 tasks done
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
Where
cardType
isThe rule could leverage typescript to only check for attributes of type
string
,any
,unknown
or any union containing those. Literal string unions should be omitted.This would allow for many less false-positives with default configurations.
Versions
@angular-eslint/eslint-plugin-template
15.2.1
@angular-eslint/template-parser
15.2.1
@typescript-eslint/parser
5.62.0
ESLint
8.52.0
node
18.14.0
ng version
output per the instructions given here.The text was updated successfully, but these errors were encountered: