diff options
-rw-r--r-- | .jscsrc | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,7 @@ "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowSpacesInCallExpression": true, + "disallowSpacesInsideBrackets": true, "disallowTrailingWhitespace": true, "requireCapitalizedConstructors": true, "requireCommaBeforeLineBreak": true, @@ -19,6 +20,7 @@ "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], "requireSpacesInConditionalExpression": true, "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, + "requireSpacesInForStatement": true, "validateIndentation": 2, "validateLineBreaks": "LF", "validateParameterSeparator": ", ", diff --git a/package.json b/package.json index 8859c1d..992462a 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "grunt-contrib-jshint": "^0.11.0", "grunt-contrib-nodeunit": "^0.4.1", "grunt-eslint": "^5.1.0", - "grunt-jscs": "^1.2.0", + "grunt-jscs": "^1.5.0", "load-grunt-tasks": "^3.1.0" }, "peerDependencies": { |