From c586a56d573ed4498b9ba2a8742653b23d92de2b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 28 Feb 2014 14:21:21 +0200 Subject: [PATCH] Move `immed` to JSCS. --- Gruntfile.js | 3 +++ grunt/.jshintrc | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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,