[@angular-eslint/template/no-any] does not throw error for property binding with square bracket notation #1701
Labels
package: eslint-plugin-template
Angular Template rules
triage
This issue needs to be looked at and categorized by a maintainer
Issue Description
The angular-eslint/template/no-any rule does not throw an error when used in conjunction with property binding using square bracket notation. The issue arises when using the $any expression, as demonstrated in the following example:
In this case, the rule does not detect and report the potential problem with property binding using square brackets. However, it works as expected when using direct property access, such as [name]= $any(name).
Expected Behavior
The angular-eslint/template/no-any rule should identify and report property binding with square bracket notation, especially when used in conjunction with the $any expression.
The text was updated successfully, but these errors were encountered: