2014-02-06 03:10:28 +04:00
|
|
|
{
|
|
|
|
"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"],
|
2014-07-19 01:18:33 +04:00
|
|
|
"requireSpaceAfterBinaryOperators": ["=", ",", "+", "-", "/", "*", "==", "===", "!=", "!=="],
|
|
|
|
"requireSpaceAfterPrefixUnaryOperators": ["+", "~"],
|
|
|
|
"requireSpacesInConditionalExpression": true,
|
2014-02-06 03:10:28 +04:00
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
2014-02-11 00:54:25 +04:00
|
|
|
"validateQuoteMarks": "'",
|
2014-02-06 03:10:28 +04:00
|
|
|
"validateJSDoc": {
|
|
|
|
"checkParamNames": true,
|
|
|
|
"checkRedundantParams": true,
|
|
|
|
"requireParamTypes": true
|
|
|
|
}
|
|
|
|
}
|