-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.jscrc
39 lines (37 loc) · 1.31 KB
/
.jscrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 2015 April 5
// https://github.com/bevry/base
// http://jscs.info
{
"excludeFiles": ["!(es6)"],
"esnext": true,
"disallowEmptyBlocks": true,
"disallowFunctionDeclarations": true,
"disallowImplicitTypeConversion": ["numeric", "binary", "string"],
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowPaddingNewlinesInBlocks": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSemicolons": true,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"disallowSpacesInCallExpression": true,
"disallowSpacesInsideArrayBrackets": {
"allExcept": [ "[", "]", "{", "}" ]
},
"disallowSpacesInsideBrackets": {
"allExcept": [ "[", "]", "{", "}" ]
},
"disallowSpacesInsideObjectBrackets": true,
"disallowTrailingWhitespace": true,
"disallowYodaConditions": true,
"requireAnonymousFunctions": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireDollarBeforejQueryAssignment": true,
"requireDotNotation": true,
"validateLineBreaks": "LF",
"validateIndentation": "\t"
}