-3
jshint: {
      files: [
        'src/js/*.js',
        'Gruntfile.js'
      ],
      options: {
        jshintrc: '.jshintrc',
        devel:true 

      }
    },

How to turn off that alert error in jshint? hell I want to turn off that stupid feature off! if possible "use strict" too, too annoying..

1 Answers1

0

There is a way, look here.

here is a little snippet for that:

// Code here will be linted with JSHint.
/* jshint ignore:start */
// Code here will be ignored by JSHint.
/* jshint ignore:end */

You can also ignore a single line with a trailing comment like this:

ignoreThis(); // jshint ignore:line
israel altar
  • 1,768
  • 1
  • 16
  • 24