From aead10fafa12c2bf197c2cb4ea3b3055fcc191f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= <legospace9876@gmail.com>
Date: Fri, 7 Feb 2014 13:34:17 +0100
Subject: [PATCH] Avoid setting `jshint node: true` in every Grunt JS file

---
 Gruntfile.js                          | 3 +++
 docs/assets/js/customizer.js          | 2 +-
 grunt/bs-glyphicons-data-generator.js | 1 -
 grunt/bs-lessdoc-parser.js            | 1 -
 grunt/bs-raw-files-generator.js       | 1 -
 grunt/shrinkwrap.js                   | 2 --
 6 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/Gruntfile.js b/Gruntfile.js
index c4da304ddb..ac3107fd4d 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -44,6 +44,9 @@ module.exports = function (grunt) {
         jshintrc: 'js/.jshintrc'
       },
       grunt: {
+        options: {
+          node: true
+        },
         src: ['Gruntfile.js', 'grunt/*.js']
       },
       src: {
diff --git a/docs/assets/js/customizer.js b/docs/assets/js/customizer.js
index 405d875723..d165c4a028 100644
--- a/docs/assets/js/customizer.js
+++ b/docs/assets/js/customizer.js
@@ -6,7 +6,7 @@
  * details, see http://creativecommons.org/licenses/by/3.0/.
  */
 
-/* jshint multistr:true */
+/* jshint multistr: true */
 
 window.onload = function () { // wait for load in a dumb way because B-0
   var cw = '/*!\n' +
diff --git a/grunt/bs-glyphicons-data-generator.js b/grunt/bs-glyphicons-data-generator.js
index 3e32698a1a..9e4317f6f9 100644
--- a/grunt/bs-glyphicons-data-generator.js
+++ b/grunt/bs-glyphicons-data-generator.js
@@ -1,4 +1,3 @@
-/* jshint node: true */
 /*!
  * Bootstrap Grunt task for Glyphicons data generation
  * http://getbootstrap.com
diff --git a/grunt/bs-lessdoc-parser.js b/grunt/bs-lessdoc-parser.js
index 9d0b2ffaf3..0433e61750 100644
--- a/grunt/bs-lessdoc-parser.js
+++ b/grunt/bs-lessdoc-parser.js
@@ -1,4 +1,3 @@
-/* jshint node: true */
 /*!
  * Bootstrap Grunt task for parsing Less docstrings
  * http://getbootstrap.com
diff --git a/grunt/bs-raw-files-generator.js b/grunt/bs-raw-files-generator.js
index 8f004ce3e3..bc005a422e 100644
--- a/grunt/bs-raw-files-generator.js
+++ b/grunt/bs-raw-files-generator.js
@@ -1,4 +1,3 @@
-/* jshint node: true */
 /* global btoa: true */
 
 /*!
diff --git a/grunt/shrinkwrap.js b/grunt/shrinkwrap.js
index 7a0328d41f..f486bc69b7 100644
--- a/grunt/shrinkwrap.js
+++ b/grunt/shrinkwrap.js
@@ -1,5 +1,3 @@
-/* jshint node: true */
-
 /*
 This Grunt task updates the npm-shrinkwrap.canonical.json file that's used as the key for Bootstrap's npm packages cache.
 This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
-- 
GitLab