I am running across a lot of inspection warnings because I'm using Underscore templates in my project. For example:
<script type="text/template" id="row-template">
<a href="#items/<%=id%>"><%=transactionDate %></a>
<br><p>Make: <%=itemMake %> Model: <%=itemModel %></p>
<p ><%=itemDesc %></p>
Every HTML attribute gets an inspection warning (and worse yet, a commit warning) because it is inside a script tag. Is there a way to ignore just these, or set up a custom inspection so I don't have to see these?
I saw this
bug report but it doesn't seem to be resolved anywhere.
The same seems to happen with jQuery template blocks (text/x-jquery-tmpl), so it's not just an Underscore thing.