mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Avoid setting jshint node: true
in every Grunt JS file
This commit is contained in:
parent
4d7b2ddba9
commit
aead10fafa
@ -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: {
|
||||||
|
@ -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' +
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
/* jshint node: true */
|
|
||||||
/* global btoa: true */
|
/* global btoa: true */
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user