mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
22 lines
1.1 KiB
Text
22 lines
1.1 KiB
Text
{
|
|
"disallowEmptyBlocks": true,
|
|
"disallowKeywords": ["with"],
|
|
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
"disallowMixedSpacesAndTabs": true,
|
|
"disallowMultipleLineStrings": true,
|
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"disallowTrailingWhitespace": true,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
|
"requireLeftStickedOperators": [","],
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requireRightStickedOperators": ["!"],
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
"validateIndentation": 2,
|
|
"validateLineBreaks": "LF",
|
|
"validateQuoteMarks": "'"
|
|
}
|