forked from gentooboontoo/js-quantities
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.jscsrc
More file actions
37 lines (37 loc) · 1.47 KB
/
.jscsrc
File metadata and controls
37 lines (37 loc) · 1.47 KB
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
{
"disallowImplicitTypeConversion": ["string"],
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineBreaks": true,
"disallowSpaceAfterPrefixUnaryOperators": ["!"],
"disallowSpaceBeforeBinaryOperators": [","],
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowTrailingWhitespace": true,
"esnext": true,
"excludeFiles": [],
"jsDoc": {
"checkParamNames": true,
"requireParamTypes": true
},
/*"maximumLineLength": {*/
/*"allowUrlComments": true,*/
/*"value": 80*/
/*},*/
"requireBlocksOnNewline": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireKeywordsOnNewLine": ["else"],
"requireLineFeedAtFileEnd": true,
"requireParenthesesAroundIIFE": true,
"requireSpaceAfterBinaryOperators": [/*",",*/ "?", "+", "-", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceBeforeBinaryOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"validateQuoteMarks": "\""
}