1 | {
|
2 | "requireCurlyBraces": [
|
3 | "if",
|
4 | "else",
|
5 | "for",
|
6 | "while",
|
7 | "do"
|
8 | ],
|
9 | "requireSpaceAfterKeywords": [
|
10 | "if",
|
11 | "else",
|
12 | "for",
|
13 | "while",
|
14 | "do",
|
15 | "switch",
|
16 | "return"
|
17 | ],
|
18 | "disallowSpaceAfterKeywords": [
|
19 | "catch"
|
20 | ],
|
21 | "requireSpacesInFunctionExpression": {
|
22 | "beforeOpeningCurlyBrace": true
|
23 | },
|
24 | "disallowSpacesInFunctionExpression": {
|
25 | "beforeOpeningRoundBrace": true
|
26 | },
|
27 | "disallowMultipleVarDecl": true,
|
28 | "requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*" ],
|
29 | "requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*" ],
|
30 | "disallowImplicitTypeConversion": ["numeric", "binary", "string"],
|
31 | "disallowKeywords": ["with"],
|
32 | "disallowKeywordsOnNewLine": ["else", "catch"],
|
33 | "requireLineFeedAtFileEnd": true,
|
34 | "validateJSDoc": {
|
35 | "checkParamNames": true,
|
36 | "requireParamTypes": true,
|
37 | "checkRedundantParams": true
|
38 | },
|
39 | "disallowSpaceAfterObjectKeys": true,
|
40 | "disallowYodaConditions": true,
|
41 | "safeContextKeyword": "that",
|
42 | "excludeFiles": [
|
43 | "Gruntfile.js"
|
44 | ]
|
45 | } |
\ | No newline at end of file |