aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gruntfile.js3
-rw-r--r--grunt/.jshintrc1
2 files changed, 3 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 5bc1c07ed..fbb6a1a86 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 f79ed0cac..c812e59d8 100644
--- a/grunt/.jshintrc
+++ b/grunt/.jshintrc
@@ -1,7 +1,6 @@
{
"curly" : true,
"eqeqeq" : true,
- "immed" : true,
"newcap" : true,
"noarg" : true,
"node" : true,