diff --git a/Gruntfile.js b/Gruntfile.js index 5bc1c07edd..fbb6a1a869 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -65,6 +65,9 @@ module.exports = function (grunt) { config: 'js/.jscsrc' }, grunt: { + options: { + 'requireParenthesesAroundIIFE': true + }, src: ['Gruntfile.js', 'grunt/*.js'] }, src: { diff --git a/grunt/.jshintrc b/grunt/.jshintrc index f79ed0cac1..c812e59d84 100644 --- a/grunt/.jshintrc +++ b/grunt/.jshintrc @@ -1,7 +1,6 @@ { "curly" : true, "eqeqeq" : true, - "immed" : true, "newcap" : true, "noarg" : true, "node" : true,