From: Chris Rebert Date: Tue, 17 Feb 2015 01:38:54 +0000 (-0800) Subject: Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers X-Git-Tag: v4.0.0-alpha~364^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd287da0d695ad0308ff4bbddb83ee9e5f0d772;p=thirdparty%2Fbootstrap.git Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers This allows `grunt jscs:grunt` to succeed. --- diff --git a/Gruntfile.js b/Gruntfile.js index 2fe9e2c85f..37d0b708bb 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: {