From be8f125ce6225222507f0b7329ea88b99207ac21 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 27 Feb 2014 17:38:37 +0200 Subject: [PATCH] Move `camelcase` check to JSCS. --- grunt/.jshintrc | 1 - js/.jscsrc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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": ["!"],