bootlint/.jscsrc

25 строки
1.2 KiB
Plaintext
Исходник Обычный вид История

2014-07-11 09:46:09 +04:00
{
"disallowEmptyBlocks": true,
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
"disallowMultipleVarDecl": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInCallExpression": true,
2014-07-11 09:46:09 +04:00
"disallowTrailingWhitespace": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"],
"requireLineFeedAtFileEnd": true,
"requireParenthesesAroundIIFE": true,
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
2014-07-11 14:11:31 +04:00
"requireSpacesInConditionalExpression": true,
2014-07-11 09:46:09 +04:00
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
2014-07-11 14:11:31 +04:00
"validateIndentation": 4,
"validateLineBreaks": "LF",
"validateParameterSeparator": ", "
2014-07-11 09:46:09 +04:00
}