javascript - jshint turn off alert() error doesn't work -
jshint: { files: [ 'src/js/*.js', 'gruntfile.js' ], options: { jshintrc: '.jshintrc', devel:true } },
how turn off alert error in jshint? hell want turn off stupid feature off! if possible "use strict" too, annoying..
there way, here.
here little snippet that:
// code here linted jshint. /* jshint ignore:start */ // code here ignored jshint. /* jshint ignore:end */
you can ignore single line trailing comment this:
ignorethis(); // jshint ignore:line
Comments
Post a Comment