From: XhmikosR Date: Thu, 27 Feb 2014 15:38:37 +0000 (+0200) Subject: Move `camelcase` check to JSCS. X-Git-Tag: v3.2.0~438^2~12^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be8f125ce6225222507f0b7329ea88b99207ac21;p=thirdparty%2Fbootstrap.git Move `camelcase` check to JSCS. --- diff --git a/grunt/.jshintrc b/grunt/.jshintrc index 26ebc7e3b9..d357212cc2 100644 --- a/grunt/.jshintrc +++ b/grunt/.jshintrc @@ -1,5 +1,4 @@ { - "camelcase": true, "curly" : true, "eqeqeq" : true, "immed" : true, diff --git a/js/.jscsrc b/js/.jscsrc index e8168b8b8c..ceaffbcd50 100644 --- a/js/.jscsrc +++ b/js/.jscsrc @@ -7,6 +7,7 @@ "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], + "requireCamelCaseOrUpperCaseIdentifiers": true, "requireLeftStickedOperators": [","], "requireLineFeedAtFileEnd": true, "requireRightStickedOperators": ["!"],