27 строки
1.0 KiB
JSON
27 строки
1.0 KiB
JSON
{
|
|
"plugins": [
|
|
"jscs-jsdoc"
|
|
],
|
|
"disallowKeywords": ["with", "eval"],
|
|
"disallowKeywordsOnNewLine": ["else"],
|
|
"disallowMultipleLineStrings": true,
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"maximumLineLength": 160,
|
|
"requireCapitalizedConstructors": true,
|
|
"requireCurlyBraces": ["for", "while", "do"],
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"],
|
|
"requireSpaceAfterBinaryOperators": ["=", ",", "+", "-", "/", "*", "==", "===", "!=", "!=="],
|
|
"requireSpaceAfterPrefixUnaryOperators": ["+", "~"],
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
"validateQuoteMarks": "'",
|
|
"jsDoc": {
|
|
"checkParamNames": true,
|
|
"checkRedundantParams": true,
|
|
"requireParamTypes": true
|
|
}
|
|
}
|