mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -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
|
||
|
}
|