From: Chris Rebert Date: Thu, 6 Mar 2014 21:10:40 +0000 (-0800) Subject: re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS & use `null` to override... X-Git-Tag: v3.2.0~438^2~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=310465b035353e05524a998dc29605252dc976e7;p=thirdparty%2Fbootstrap.git re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS & use `null` to override it for Gruntfile --- diff --git a/Gruntfile.js b/Gruntfile.js index 0d7d0b68db..8afc650d88 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,6 +66,7 @@ module.exports = function (grunt) { }, grunt: { options: { + 'requireCamelCaseOrUpperCaseIdentifiers': null, 'requireParenthesesAroundIIFE': true }, src: '<%= jshint.grunt.src %>' diff --git a/js/.jscsrc b/js/.jscsrc index 3ce1db5fcc..2da777a222 100644 --- a/js/.jscsrc +++ b/js/.jscsrc @@ -8,6 +8,7 @@ "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowTrailingWhitespace": true, + "requireCamelCaseOrUpperCaseIdentifiers": true, "requireLeftStickedOperators": [","], "requireLineFeedAtFileEnd": true, "requireRightStickedOperators": ["!"],