| Leo Repp | 58b9f11 | 2021-11-22 11:57:47 +0100 | [diff] [blame^] | 1 | { |
| 2 | "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"], |
| 3 | |
| 4 | "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"], |
| 5 | |
| 6 | "disallowSpaceAfterKeywords": [], |
| 7 | |
| 8 | "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true }, |
| 9 | "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
| 10 | "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
| 11 | "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
| 12 | "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, |
| 13 | |
| 14 | "disallowSpacesInsideParentheses": true, |
| 15 | |
| 16 | "disallowSpacesInsideArrayBrackets": true, |
| 17 | |
| 18 | "disallowQuotedKeysInObjects": "allButReserved", |
| 19 | |
| 20 | "disallowSpaceAfterObjectKeys": true, |
| 21 | |
| 22 | "requireCommaBeforeLineBreak": true, |
| 23 | |
| 24 | "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
| 25 | "requireSpaceAfterPrefixUnaryOperators": [], |
| 26 | |
| 27 | "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
| 28 | "requireSpaceBeforePostfixUnaryOperators": [], |
| 29 | |
| 30 | "disallowSpaceBeforeBinaryOperators": [], |
| 31 | "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], |
| 32 | |
| 33 | "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], |
| 34 | "disallowSpaceAfterBinaryOperators": [], |
| 35 | |
| 36 | "disallowImplicitTypeConversion": ["binary", "string"], |
| 37 | |
| 38 | "disallowKeywords": ["with", "eval"], |
| 39 | |
| 40 | "validateLineBreaks": "LF", |
| 41 | |
| 42 | "requireKeywordsOnNewLine": [], |
| 43 | "disallowKeywordsOnNewLine": ["else"], |
| 44 | |
| 45 | "requireLineFeedAtFileEnd": true, |
| 46 | |
| 47 | "disallowTrailingWhitespace": true, |
| 48 | |
| 49 | "excludeFiles": ["node_modules/**", "vendor/**"], |
| 50 | |
| 51 | "disallowMultipleLineStrings": true, |
| 52 | |
| 53 | "additionalRules": [] |
| 54 | } |
| 55 | |