Is there a way to configure IntelliJ IDEA / WebStorm to add // jshint ignore:line
in order to suppress JSHint warnings? By default, IntelliJ adds //noinspection JSHint
, which is not recognized by JSHint itself.
It's not possible to configure Inspections Quick fix result right now.
When you're trying to suppress warning via Quick fix (Alt+Enter) in WebStorm/Intellij IDEA - predefine comment //noinspection JSHint
is added for any JSHint warning.
So you need to add // jshint ignore:line
manually to make sure this warning will be suppressed by JSHint itself.