Skip to content

Commit e21235c

Browse files
Portugal, Marcelomportuga
Portugal, Marcelo
authored andcommitted
refactor(jscs): Implement JSCS TODO changes.
1 parent cdaf68f commit e21235c

File tree

93 files changed

+9160
-9518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+9160
-9518
lines changed

.jscs.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"disallowSpaceBeforeBinaryOperators": [
55
","
66
],
7+
"disallowTrailingWhitespace": true,
8+
"requireLineFeedAtFileEnd": true,
79
"requireSpaceBeforeBinaryOperators": [
810
"=",
911
"==",
@@ -17,14 +19,19 @@
1719
"afterConsequent": true,
1820
"beforeAlternate": true
1921
},
22+
"requireSpaceBeforeObjectValues": true,
23+
"requireSpaceBeforeBlockStatements": true,
2024
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
2125
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
26+
"requireSpaceAfterLineComment": true,
2227
"disallowSpacesInNamedFunctionExpression": {
2328
"beforeOpeningRoundBrace": true
2429
},
2530
"disallowImplicitTypeConversion": ["string"],
2631
"disallowMixedSpacesAndTabs": true,
2732
"disallowTrailingComma": true,
2833
"disallowYodaConditions": true,
29-
"disallowNewlineBeforeBlockStatements": true
34+
"disallowNewlineBeforeBlockStatements": true,
35+
"validateLineBreaks": "LF",
36+
"validateParameterSeparator": ", "
3037
}

.jscs.json.todo

-19
This file was deleted.

0 commit comments

Comments
 (0)