Adding linting and fixing linter warnings. Reducing timeouts to 7 seconds.

This commit is contained in:
Dmitry Blotsky
2015-12-02 19:20:44 -08:00
parent b11415da28
commit 0913325be5
5 changed files with 255 additions and 135 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"validateLineBreaks": "CRLF",
"validateIndentation": 4,
"requireLineFeedAtFileEnd": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"requireSpaceAfterLineComment": true,
"requireCapitalizedConstructors": true,
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do"
]
}