From 1801b725bdbf16b76fd12a71ddd3119b17db5cf7 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 3 Feb 2015 15:35:44 +1100 Subject: [PATCH] remove stupid jscs rules (they don't take into account reserved words ugh) and let jshint handle them --- .jscsrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.jscsrc b/.jscsrc index 2da5718d08..9e60dd5719 100644 --- a/.jscsrc +++ b/.jscsrc @@ -14,7 +14,6 @@ }, "disallowSpacesInsideArrayBrackets": true, "disallowSpacesInsideParentheses": true, - "disallowQuotedKeysInObjects": true, "disallowSpaceAfterObjectKeys": true, "disallowSpaceAfterPrefixUnaryOperators": true, "disallowSpaceBeforePostfixUnaryOperators": true, @@ -35,7 +34,6 @@ "requireSpaceAfterBinaryOperators": true, "requireLineFeedAtFileEnd": true, "requireCapitalizedConstructors": true, - "requireDotNotation": true, "requireSpacesInForStatement": true, "requireCurlyBraces": [ "do" @@ -51,7 +49,8 @@ "return", "try", "catch", - "typeof" + "typeof", + "function" ], "validateLineBreaks": "LF", "validateQuoteMarks": "\"",