]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers
authorChris Rebert <code@rebertia.com>
Tue, 17 Feb 2015 01:38:54 +0000 (17:38 -0800)
committerChris Rebert <code@rebertia.com>
Tue, 17 Feb 2015 01:38:54 +0000 (17:38 -0800)
This allows `grunt jscs:grunt` to succeed.

Gruntfile.js

index 2fe9e2c85f061c044fb6bedd4298960f70519b2e..37d0b708bbe03cb33ae798ba08be1b4640098891 100644 (file)
@@ -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: {