diff options
| author | Chris Rebert <[email protected]> | 2014-04-20 16:33:23 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-04-20 16:33:23 -0700 |
| commit | d971ddb730c5577bd533e7c598e2990c128b1265 (patch) | |
| tree | 2e413e5a6535c3cd435eb6313d6af5da0272a2f7 | |
| parent | eaddbd92bb19f0ee7e04ae12736de4d49e33c925 (diff) | |
| download | bootstrap-d971ddb730c5577bd533e7c598e2990c128b1265.tar.xz bootstrap-d971ddb730c5577bd533e7c598e2990c128b1265.zip | |
add missing operators to some JSCS rules that we already comply with
| -rw-r--r-- | js/.jscsrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/.jscsrc b/js/.jscsrc index fc8bc88ca..7d91c8e43 100644 --- a/js/.jscsrc +++ b/js/.jscsrc @@ -6,16 +6,16 @@ "disallowMultipleLineStrings": true, "disallowQuotedKeysInObjects": "allButReserved", "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], - "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], + "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowTrailingWhitespace": true, "requireCamelCaseOrUpperCaseIdentifiers": true, "requireLeftStickedOperators": [","], "requireLineFeedAtFileEnd": true, "requireRightStickedOperators": ["!"], - "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], - "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, "validateIndentation": 2, "validateLineBreaks": "LF", |
