forked from mozilla/fxa-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jscsrc
23 lines (23 loc) · 1.01 KB
/
.jscsrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"disallowKeywords": ["with", "eval"],
"disallowKeywordsOnNewLine": ["else"],
"requireSpaceBeforeBinaryOperators": ["?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowMultipleLineStrings": true,
"requireSpaceAfterBinaryOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"maximumLineLength": 420,
"requireCapitalizedConstructors": true,
"requireCurlyBraces": ["if", "else", "for", "while", "do"],
"requireLineFeedAtFileEnd": true,
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"],
"validateIndentation": 2,
"validateLineBreaks": "LF",
"validateQuoteMarks": true,
"validateJSDoc": {
"checkParamNames": true,
"checkRedundantParams": true,
"requireParamTypes": true
}
}