mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers
This allows `grunt jscs:grunt` to succeed.
This commit is contained in:
parent
1daca5ac5c
commit
cdd287da0d
@ -131,6 +131,7 @@ module.exports = function (grunt) {
|
|||||||
checkModified: false,
|
checkModified: false,
|
||||||
|
|
||||||
compilerOpts: {
|
compilerOpts: {
|
||||||
|
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
|
||||||
// jscomp_warning: 'reportUnknownTypes', someday - maybe we will get to 100% typed, this helps track those down
|
// jscomp_warning: 'reportUnknownTypes', someday - maybe we will get to 100% typed, this helps track those down
|
||||||
compilation_level: 'ADVANCED_OPTIMIZATIONS',
|
compilation_level: 'ADVANCED_OPTIMIZATIONS',
|
||||||
warning_level: 'verbose',
|
warning_level: 'verbose',
|
||||||
@ -139,6 +140,7 @@ module.exports = function (grunt) {
|
|||||||
'"<%= banner %><%= jqueryCheck %><%= jqueryVersionCheck %>'
|
'"<%= banner %><%= jqueryCheck %><%= jqueryVersionCheck %>'
|
||||||
+ '(function($){%output%})(jQuery);"',
|
+ '(function($){%output%})(jQuery);"',
|
||||||
externs: 'js/externs/*.js'
|
externs: 'js/externs/*.js'
|
||||||
|
// jscs:enable requireCamelCaseOrUpperCaseIdentifiers
|
||||||
},
|
},
|
||||||
|
|
||||||
execOpts: {
|
execOpts: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user