Search code examples
angulartypescript-eslint

ESLint error - logical operator ill-formed in ngif?


I'm running into an eslint build error but I can't determine which lint rule is blocking it...

<div class="checkbox-info" title="{{ checkboxDescription }}" *ngIf="checkboxDescription && hasToggle">

Error: "attribute value contains an ill-formed escape sequence: &&"


Solution

  • It's a htmllint error.

    You'll have to disable it, it's not compatible with angular templates.