bootlint/.jscsrc

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

2014-07-11 09:46:09 +04:00
{
"disallowEmptyBlocks": true,
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
"disallowMultipleVarDecl": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInCallExpression": true,
2015-02-07 00:34:11 +03:00
"disallowSpacesInsideBrackets": 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,
"requireOperatorBeforeLineBreak": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
2014-07-11 09:46:09 +04:00
"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 },
2015-02-07 00:34:11 +03:00
"requireSpacesInForStatement": true,
2014-07-11 14:11:31 +04:00
"validateIndentation": 4,
"validateLineBreaks": "LF",
2014-12-17 01:51:47 +03:00
"validateParameterSeparator": ", ",
"plugins": [
"jscs-jsdoc"
],
"jsDoc": {
"checkAnnotations": {
2015-01-05 12:05:46 +03:00
"preset": "jsdoc3"
2014-12-17 01:51:47 +03:00
},
"checkParamNames": true,
"checkRedundantParams": true,
"requireParamTypes": true
}
2014-07-11 09:46:09 +04:00
}