0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-28 00:54:30 +01:00

Merge pull request #12636 from ZDroid/grunt-jshintrc

Avoid setting `jshint node: true` in every Grunt JS file
This commit is contained in:
Chris Rebert 2014-02-07 09:36:39 -08:00
commit 532f1d9097
6 changed files with 4 additions and 6 deletions

View File

@ -44,6 +44,9 @@ module.exports = function (grunt) {
jshintrc: 'js/.jshintrc' jshintrc: 'js/.jshintrc'
}, },
grunt: { grunt: {
options: {
node: true
},
src: ['Gruntfile.js', 'grunt/*.js'] src: ['Gruntfile.js', 'grunt/*.js']
}, },
src: { src: {

View File

@ -6,7 +6,7 @@
* details, see http://creativecommons.org/licenses/by/3.0/. * 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 window.onload = function () { // wait for load in a dumb way because B-0
var cw = '/*!\n' + var cw = '/*!\n' +

View File

@ -1,4 +1,3 @@
/* jshint node: true */
/*! /*!
* Bootstrap Grunt task for Glyphicons data generation * Bootstrap Grunt task for Glyphicons data generation
* http://getbootstrap.com * http://getbootstrap.com

View File

@ -1,4 +1,3 @@
/* jshint node: true */
/*! /*!
* Bootstrap Grunt task for parsing Less docstrings * Bootstrap Grunt task for parsing Less docstrings
* http://getbootstrap.com * http://getbootstrap.com

View File

@ -1,4 +1,3 @@
/* jshint node: true */
/* global btoa: true */ /* global btoa: true */
/*! /*!

View File

@ -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 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. This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.