aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2014-02-28 14:21:21 +0200
committerXhmikosR <[email protected]>2014-02-28 17:30:08 +0200
commitc586a56d573ed4498b9ba2a8742653b23d92de2b (patch)
tree95a9dc2f916264717ecdce1ea78ba66b83ce9dd7
parent25450730247f4e77f30660f52762fa83e44d6fa1 (diff)
downloadbootstrap-c586a56d573ed4498b9ba2a8742653b23d92de2b.tar.xz
bootstrap-c586a56d573ed4498b9ba2a8742653b23d92de2b.zip
Move `immed` to JSCS.
-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,