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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

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