2014-01-14 22:05:17 +04:00
|
|
|
{
|
|
|
|
"disallowKeywords": ["with", "eval"],
|
|
|
|
"disallowKeywordsOnNewLine": ["else"],
|
|
|
|
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
|
|
"disallowMultipleLineStrings": true,
|
|
|
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
|
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
|
|
"maximumLineLength": 160,
|
|
|
|
"requireCapitalizedConstructors": true,
|
2014-01-17 14:24:32 +04:00
|
|
|
"requireCurlyBraces": ["for", "while", "do"],
|
2014-01-14 22:05:17 +04:00
|
|
|
"requireLeftStickedOperators": [","],
|
|
|
|
"requireLineFeedAtFileEnd": true,
|
|
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"],
|
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
|
|
"validateLineBreaks": "LF",
|
|
|
|
"validateQuoteMarks": true,
|
|
|
|
"validateJSDoc": {
|
|
|
|
"checkParamNames": true,
|
|
|
|
"checkRedundantParams": true,
|
|
|
|
"requireParamTypes": true
|
|
|
|
}
|
|
|
|
}
|