this is probably a rare case. developing a wordpress plugin here using a html file as a template to inject an inline script which works fine. the only problem is that js-standard in my atom editor is complaining with this warning
"Expected an assignment or function call and instead saw an expression. (no-unused-expressions)"
understand, it's because of the {{{ part which makes sense. but the problem is that the // jshint ignore:line part at end of this line does not seem to have any effect.
this is probably a rare case. developing a wordpress plugin here using a html file as a template to inject an inline script which works fine. the only problem is that js-standard in my atom editor is complaining with this warning
"Expected an assignment or function call and instead saw an expression. (no-unused-expressions)"
understand, it's because of the
{{{
part which makes sense. but the problem is that the// jshint ignore:line
part at end of this line does not seem to have any effect.maybe this exotic use case isn't covered in standardjs yet?