123456789101112131415161718192021222324252627282930 |
- {
- "requireCurlyBraces": ["do", "switch", "return", "try", "catch"],
- "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
- "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
- "requireSpaceAfterKeywords": ["else", "do", "switch", "return", "try"],
- "disallowSpaceAfterKeywords": ["if", "catch", "for", "while"],
- "disallowSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
-
- "requireCapitalizedConstructors": true,
- "requireCommaBeforeLineBreak": true,
- "requireDotNotation": true,
- "requireParenthesesAroundIIFE": true,
-
- "disallowEmptyBlocks": true,
-
- "disallowSpaceAfterPrefixUnaryOperators": ["!"],
- "disallowSpaceBeforeBinaryOperators": [","],
- "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
- "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
-
- "disallowKeywords": ["with"],
- "disallowMultipleLineStrings": true,
- "disallowTrailingWhitespace": true,
-
- "validateIndentation": "\t",
- "validateLineBreaks": "LF",
- "validateQuoteMarks": "\"",
-
- "safeContextKeyword": "_this"
- }
|