diff options
| author | Chris Rebert <[email protected]> | 2015-02-16 17:38:54 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-02-16 17:38:54 -0800 |
| commit | cdd287da0d695ad0308ff4bbddb83ee9e5f0d772 (patch) | |
| tree | 9f7d3d19f348d2ffb78bfc1c45085b2bf8e15ac1 | |
| parent | 1daca5ac5c5235752e94eed50fdeb62f0cc5c9f0 (diff) | |
| download | bootstrap-cdd287da0d695ad0308ff4bbddb83ee9e5f0d772.tar.xz bootstrap-cdd287da0d695ad0308ff4bbddb83ee9e5f0d772.zip | |
Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers
This allows `grunt jscs:grunt` to succeed.
| -rw-r--r-- | Gruntfile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 2fe9e2c85..37d0b708b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -131,6 +131,7 @@ module.exports = function (grunt) { checkModified: false, compilerOpts: { + // jscs:disable requireCamelCaseOrUpperCaseIdentifiers // jscomp_warning: 'reportUnknownTypes', someday - maybe we will get to 100% typed, this helps track those down compilation_level: 'ADVANCED_OPTIMIZATIONS', warning_level: 'verbose', @@ -139,6 +140,7 @@ module.exports = function (grunt) { '"<%= banner %><%= jqueryCheck %><%= jqueryVersionCheck %>' + '(function($){%output%})(jQuery);"', externs: 'js/externs/*.js' + // jscs:enable requireCamelCaseOrUpperCaseIdentifiers }, execOpts: { |
