|
| 1 | +{ |
| 2 | + "excludeFiles": [ |
| 3 | + ".git/**", |
| 4 | + "node_modules/**", |
| 5 | + "coverage/**" |
| 6 | + ], |
| 7 | + "fileExtensions": [".js"], |
| 8 | + "validateParameterSeparator": ", ", |
| 9 | + "disallowSpacesInCallExpression": true, |
| 10 | + "disallowSpaceAfterObjectKeys": true, |
| 11 | + "disallowSpaceBeforeSemicolon": true, |
| 12 | + "disallowSpaceBeforePostfixUnaryOperators": true, |
| 13 | + "disallowNewlineBeforeBlockStatements": true, |
| 14 | + "disallowMultipleLineBreaks": true, |
| 15 | + "disallowTrailingComma": true, |
| 16 | + "disallowTrailingWhitespace": true, |
| 17 | + "disallowNamedUnassignedFunctions": true, |
| 18 | + "disallowSpacesInFunctionDeclaration": { |
| 19 | + "beforeOpeningRoundBrace": true |
| 20 | + }, |
| 21 | + "disallowSpacesInFunctionExpression": { |
| 22 | + "beforeOpeningRoundBrace": true |
| 23 | + }, |
| 24 | + "disallowSpacesInConditionalExpression": { |
| 25 | + "afterTest": true, |
| 26 | + "afterConsequent": true |
| 27 | + }, |
| 28 | + "requireSpaceBeforeBlockStatements": 1, |
| 29 | + "requireSpaceAfterKeywords": [ |
| 30 | + "do", |
| 31 | + "for", |
| 32 | + "if", |
| 33 | + "else", |
| 34 | + "switch", |
| 35 | + "case", |
| 36 | + "try", |
| 37 | + "catch", |
| 38 | + "void", |
| 39 | + "while", |
| 40 | + "with", |
| 41 | + "return", |
| 42 | + "typeof" |
| 43 | + ], |
| 44 | + "requireSpaceAfterBinaryOperators": true, |
| 45 | + "requireSpacesInForStatement": true, |
| 46 | + "requireSpaceBetweenArguments": true, |
| 47 | + "requireSemicolons": true, |
| 48 | + "requireFunctionDeclarations": true, |
| 49 | + "requireCommaBeforeLineBreak": true, |
| 50 | + "requireSpacesInConditionalExpression": { |
| 51 | + "afterTest": true, |
| 52 | + "afterConsequent": true |
| 53 | + }, |
| 54 | + "requireSpacesInFunctionDeclaration": { |
| 55 | + "beforeOpeningCurlyBrace": true |
| 56 | + }, |
| 57 | + "requireSpacesInConditionalExpression": { |
| 58 | + "beforeConsequent": true, |
| 59 | + "beforeAlternate": true |
| 60 | + } |
| 61 | +} |
0 commit comments