Skip to content

Commit cd1a143

Browse files
committed
Update JSCS config to v1.5.x API
1 parent 6b9ef9f commit cd1a143

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.jscsrc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
33
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
4-
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
5-
"disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
6-
"requireRightStickedOperators": ["!"],
7-
"requireLeftStickedOperators": [","],
4+
"requireSpaceBeforeBinaryOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
5+
"requireSpaceAfterBinaryOperators": ["?", "+", "-", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
86
"disallowImplicitTypeConversion": ["string"],
97
"disallowKeywords": ["with"],
108
"disallowMultipleLineBreaks": true,
119
"disallowMixedSpacesAndTabs": true,
10+
"disallowSpaceBeforeBinaryOperators": [","],
11+
"disallowSpaceAfterPrefixUnaryOperators": ["!"],
1212
"disallowTrailingWhitespace": true,
1313
"requireLineFeedAtFileEnd": true,
1414
"excludeFiles": [],

0 commit comments

Comments
 (0)