Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 3cc8247

Browse files
author
Christopher McCulloh
committed
5 JSCS rules you should be using today
1 parent 9f97de3 commit 3cc8247

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

linters/.jscsrc

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
2-
"preset": "airbnb",
3-
"validateLineBreaks": null,
4-
"disallowQuotedKeysInObjects": "allButReserved",
5-
"validateIndentation": "\t"
6-
}
2+
"preset": "airbnb",
3+
"disallowTabs": false,
4+
"validateLineBreaks": null,
5+
"validateIndentation": "\t",
6+
"disallowTrailingComma": true,
7+
"disallowTrailingWhitespace": "ignoreEmptyLines",
8+
"requireSpacesInAnonymousFunctionExpression": {
9+
"beforeOpeningRoundBrace": true,
10+
"beforeOpeningCurlyBrace": true
11+
},
12+
"requireSpacesInFunction": {
13+
"beforeOpeningRoundBrace": true,
14+
"beforeOpeningCurlyBrace": true
15+
},
16+
"disallowQuotedKeysInObjects": "allButReserved",
17+
}

0 commit comments

Comments
 (0)