There seems to be an issue in both sonarlint and sonarqube when it comes to Angular and attributes.
In order to bind an attribute with angular you need the prefix “attr.” in front of it but then the control thinks that the attribute is actually missing. Can we do something about this?
You are right. This can lead to wrong issues in some rules.
We did add a fix some time ago to catch the [attr.foo]=... cases (SONARHTML-118), but did miss that there is also a syntax without the brackets. I did create SONARHTML-158 to handle this in the next release (not planned yet).