From cdd287da0d695ad0308ff4bbddb83ee9e5f0d772 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 16 Feb 2015 17:38:54 -0800 Subject: [PATCH] Exempt Closure part of Gruntfile from requireCamelCaseOrUpperCaseIdentifiers This allows `grunt jscs:grunt` to succeed. --- Gruntfile.js | 2 ++ 1 file changed, 2 insertions(+) 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: {