In a new version of tslint they has been changed the properties: no-trailing-comma sort-object-literal-keys to: trailing-comma object-literal-sort-keys
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"rules": {
|
|
"class-name": true,
|
|
"comment-format": [true, "check-space"],
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": true,
|
|
"indent": [true, "spaces"],
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"max-line-length": [false, 140],
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-console": [true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": false,
|
|
"no-eval": true,
|
|
"no-shadowed-variable": true,
|
|
"no-string-literal": true,
|
|
"no-switch-case-fall-through": true,
|
|
"trailing-comma": false,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": false,
|
|
"no-unreachable": true,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"one-line": [true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [true, "single"],
|
|
"radix": true,
|
|
"semicolon": true,
|
|
"object-literal-sort-keys": false,
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"variable-name": false,
|
|
"whitespace": [true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator"
|
|
]
|
|
}
|
|
}
|