Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
cdd287da
Commit
cdd287da
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers
This allows `grunt jscs:grunt` to succeed.
parent
1daca5ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gruntfile.js
+2
-0
Gruntfile.js
with
2 additions
and
0 deletions
+2
-0
Gruntfile.js
+
2
-
0
View file @
cdd287da
...
@@ -131,6 +131,7 @@ module.exports = function (grunt) {
...
@@ -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) {
...
@@ -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
:
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment