diff --git a/Gruntfile.js b/Gruntfile.js index 0e4fc244b..dd0cc9600 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,4 +1,6 @@ +/* jshint node: true */ module.exports = function(grunt) { + "use strict"; // Project configuration. grunt.initConfig({ @@ -26,6 +28,7 @@ module.exports = function(grunt) { }, jshint: { options: { + ignores: [],// HACK: workaround https://github.com/gruntjs/grunt-contrib-jshint/issues/86 jshintrc: 'js/.jshintrc' }, gruntfile: { diff --git a/js/.jshintrc b/js/.jshintrc index 70e6c5792..94c520d5c 100644 --- a/js/.jshintrc +++ b/js/.jshintrc @@ -3,9 +3,11 @@ "laxcomma" : true, "laxbreak" : true, "browser" : true, + "eqeqeq" : false, "eqnull" : true, "debug" : true, "devel" : true, + "curly" : false, "boss" : true, "expr" : true, "asi" : true