CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI
Travis
Scanner command used when applicable (private details masked)
Languages of the repository
Angular 11.x
We use a lot of icons and we have 100s of “bugs” saying Replace this tag by its not possible because they are icons, how can we make sure this check is excluded
We have the same problem (on-premise with 8.9.2) using Font Awesome. See Basic Use | Font Awesome for documentation. Maybe you could suppress the finding, if the tag is empty (<i class="..."></i>).
I know this has been some time, but I’ve been having the same issue. Now, I’ve come here to suggest a change to how this issue is reported
You see, the <i> for italics would need something inside the tag for being italicised. Which means, if there is nothing inside the tag, almost certainly it’s being used for an icon.
The suggestion is simple: do not report the issue if there is nothing between <i> and </i>