2017-06-21 11:24:44 +00:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"align": [true,
|
|
|
|
"parameters",
|
|
|
|
"arguments",
|
|
|
|
"statements"],
|
|
|
|
"ban": false,
|
|
|
|
"class-name": true,
|
|
|
|
"comment-format": [true,
|
|
|
|
"check-space"
|
|
|
|
],
|
|
|
|
"curly": true,
|
|
|
|
"eofline": true,
|
|
|
|
"forin": true,
|
|
|
|
"indent": [true, 2, "spaces"],
|
2017-06-23 12:04:22 +00:00
|
|
|
"interface-name": [false],
|
2017-06-21 11:24:44 +00:00
|
|
|
"jsdoc-format": true,
|
|
|
|
"label-position": true,
|
|
|
|
"max-line-length": [true, 140],
|
|
|
|
"member-access": true,
|
|
|
|
"member-ordering": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"order": [
|
|
|
|
"static-field",
|
|
|
|
"instance-field",
|
|
|
|
"constructor",
|
|
|
|
"public-instance-method",
|
|
|
|
"protected-instance-method",
|
|
|
|
"private-instance-method"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-any": false,
|
|
|
|
"no-arg": true,
|
|
|
|
"no-bitwise": true,
|
|
|
|
"no-conditional-assignment": true,
|
|
|
|
"no-console": [true,
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
],
|
|
|
|
"no-construct": true,
|
|
|
|
"no-debugger": true,
|
|
|
|
"no-shadowed-variable": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": true,
|
|
|
|
"no-eval": true,
|
|
|
|
"no-inferrable-types": [false],
|
|
|
|
"no-internal-module": true,
|
|
|
|
"no-require-imports": false,
|
|
|
|
"no-string-literal": true,
|
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-unused-expression": true,
|
|
|
|
"no-unused-variable": true,
|
|
|
|
"no-use-before-declare": true,
|
|
|
|
"no-var-keyword": true,
|
|
|
|
"no-var-requires": true,
|
|
|
|
"object-literal-sort-keys": false,
|
|
|
|
"one-line": [true,
|
|
|
|
"check-open-brace",
|
|
|
|
"check-catch",
|
|
|
|
"check-else",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
|
|
|
"quotemark": [true, "single", "avoid-escape"],
|
|
|
|
"radix": true,
|
|
|
|
"semicolon": [true, "always"],
|
|
|
|
"switch-default": true,
|
|
|
|
"trailing-comma": [true, {
|
|
|
|
"multiline": "always",
|
|
|
|
"singleline": "never"
|
|
|
|
}],
|
|
|
|
"triple-equals": [true, "allow-null-check"],
|
|
|
|
"typedef": [true,
|
|
|
|
"call-signature",
|
|
|
|
"parameter",
|
|
|
|
"property-declaration",
|
|
|
|
"member-variable-declaration"
|
|
|
|
],
|
|
|
|
"typedef-whitespace": [true, {
|
|
|
|
"call-signature": "nospace",
|
|
|
|
"index-signature": "nospace",
|
|
|
|
"parameter": "nospace",
|
|
|
|
"property-declaration": "nospace",
|
|
|
|
"variable-declaration": "nospace"
|
|
|
|
}],
|
|
|
|
"variable-name": false,
|
|
|
|
"whitespace": [true,
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|