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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -