mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 22:49:41 -08:00
23 lines
980 B
Plaintext
23 lines
980 B
Plaintext
{
|
|
"requireSpaceAfterKeywords": [
|
|
"if", "else", "for", "while", "do", "switch", "return"
|
|
],
|
|
"disallowSpacesInFunctionExpression": {
|
|
"beforeOpeningRoundBrace": true,
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"disallowSpacesInsideObjectBrackets": true,
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
"disallowSpacesInsideParentheses": true,
|
|
"disallowQuotedKeysInObjects": "allButReserved",
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"requireSpaceAfterBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"requireSpaceBeforeBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
"disallowSpaceBeforeBinaryOperators": [","],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"validateLineBreaks": "LF",
|
|
"requireKeywordsOnNewLine": ["return", "break", "delete"],
|
|
"requireLineFeedAtFileEnd": true
|
|
}
|