Skip to content

Commit 5b98299

Browse files
hzooIgorMinar
authored andcommitted
chore(jscs) change deprecated rules for jscs todo
Closes angular#9616
1 parent d7f84e2 commit 5b98299

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.jscs.json.todo

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
{
77
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
88
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
9-
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
10-
"disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
9+
"requireSpaceAfterBinaryOperators": ["?", ":", "+", "-", "/", "*", "%", "==", "===", "!=", "!==", ">", ">=", "<", "<=", "&&", "||"],
10+
"requireSpaceBeforeBinaryOperators": ["?", ":", "+", "-", "/", "*", "%", "==", "===", "!=", "!==", ">", ">=", "<", "<=", "&&", "||"],
1111
"disallowImplicitTypeConversion": ["string"],
1212
"disallowMultipleLineBreaks": true,
1313
"disallowKeywordsOnNewLine": ["else"],

0 commit comments

Comments
 (0)