forked from lix-project/lix-website
75 lines
2.2 KiB
Plaintext
75 lines
2.2 KiB
Plaintext
|
{
|
||
|
"disallowKeywords": [ "with" ],
|
||
|
"disallowMixedSpacesAndTabs": "smart",
|
||
|
"disallowMultipleLineBreaks": true,
|
||
|
"disallowMultipleLineStrings": true,
|
||
|
"disallowMultipleSpaces": true,
|
||
|
"disallowOperatorBeforeLineBreak": [ "." ],
|
||
|
"disallowSpaceAfterObjectKeys": true,
|
||
|
"disallowSpaceAfterPrefixUnaryOperators": true,
|
||
|
"disallowSpaceBeforeBinaryOperators": [ ",", ":" ],
|
||
|
"disallowSpaceBeforePostfixUnaryOperators": true,
|
||
|
"disallowSpacesInAnonymousFunctionExpression": {
|
||
|
"beforeOpeningRoundBrace": true
|
||
|
},
|
||
|
"disallowSpacesInCallExpression": true,
|
||
|
"disallowSpacesInFunction": {
|
||
|
"beforeOpeningRoundBrace": true
|
||
|
},
|
||
|
"disallowSpacesInsideBrackets": true,
|
||
|
"disallowSpacesInsideParentheses": true,
|
||
|
"disallowTrailingComma": true,
|
||
|
"disallowTrailingWhitespace": true,
|
||
|
"maximumLineLength": {
|
||
|
"value": 100,
|
||
|
"tabSize": 4,
|
||
|
"allowUrlComments": true,
|
||
|
"allowRegex": true
|
||
|
},
|
||
|
"requireCommaBeforeLineBreak": true,
|
||
|
"requireCurlyBraces": [
|
||
|
"if",
|
||
|
"else",
|
||
|
"for",
|
||
|
"while",
|
||
|
"do",
|
||
|
"try",
|
||
|
"catch"
|
||
|
],
|
||
|
"requireDotNotation": true,
|
||
|
"requireLineBreakAfterVariableAssignment": true,
|
||
|
"requireLineFeedAtFileEnd": true,
|
||
|
"requireOperatorBeforeLineBreak": true,
|
||
|
"requirePaddingNewLinesBeforeLineComments": true,
|
||
|
"requireParenthesesAroundIIFE": true,
|
||
|
"requireSemicolons": true,
|
||
|
"requireSpaceAfterBinaryOperators": true,
|
||
|
"requireSpaceAfterKeywords": [
|
||
|
"if",
|
||
|
"else",
|
||
|
"for",
|
||
|
"while",
|
||
|
"do",
|
||
|
"switch",
|
||
|
"return",
|
||
|
"try",
|
||
|
"catch"
|
||
|
],
|
||
|
"requireSpaceAfterLineComment": true,
|
||
|
"requireSpaceBeforeBinaryOperators": true,
|
||
|
"requireSpaceBeforeBlockStatements": true,
|
||
|
"requireSpaceBeforeObjectValues": true,
|
||
|
"requireSpaceBetweenArguments": true,
|
||
|
"requireSpacesInAnonymousFunctionExpression": {
|
||
|
"beforeOpeningCurlyBrace": true
|
||
|
},
|
||
|
"requireSpacesInConditionalExpression": true,
|
||
|
"requireSpacesInForStatement": true,
|
||
|
"requireSpacesInFunction": {
|
||
|
"beforeOpeningCurlyBrace": true
|
||
|
},
|
||
|
"requireSpacesInsideObjectBrackets": "all",
|
||
|
"validateLineBreaks": "LF",
|
||
|
"validateQuoteMarks": "\""
|
||
|
}
|