Page 1 of 1

Exclude script tags with type x from js lint

Posted: Sat May 23, 2015 1:56 am
by mortenma71
I'm using kendoui's templating system which looks like this:

Code: Select all

<SCRIPT id="notification-tmpl" type="text/x-kendo-template">
	#:message#
</SCRIPT>
Can I exclude script tags with type="text/x-kendo-template" from the lint validating?

Re: Exclude script tags with type x from js lint

Posted: Sat May 23, 2015 9:07 pm
by Albert Wiersch
Hello,

The easiest way to block that message is to right-click on it in the editor and choose Message Options->Disable using Exact Text Match.

I'll look into recognizing that type for a future update. Thanks for bringing this to my attention!

UPDATE: Future updates will recognize "text/x-kendo-template" and not generate that warning.