TypeScript/tslint.json

71 lines
2.1 KiB
JSON
Raw Normal View History

2015-06-26 01:24:02 +02:00
{
2017-03-17 21:37:12 +01:00
"rulesDirectory": "built/local/tslint",
2015-06-26 01:24:02 +02:00
"rules": {
2017-06-04 18:45:55 +02:00
"boolean-trivia": true,
2015-06-26 01:24:02 +02:00
"class-name": true,
"comment-format": [true,
"check-space"
],
2017-06-07 20:58:25 +02:00
"curly":[true, "ignore-same-line"],
"debug-assert": true,
"indent": [true,
"spaces"
],
2017-06-04 18:45:55 +02:00
"jsdoc-format": true,
"linebreak-style": [true, "CRLF"],
2017-06-04 18:45:55 +02:00
"next-line": [true,
"check-catch",
"check-else"
],
"no-bom": true,
"no-in-operator": true,
"no-increment-decrement": true,
"no-inferrable-types": true,
"no-internal-module": true,
"no-null-keyword": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": [true, "ignore-template-strings"],
"no-type-assertion-whitespace": true,
"no-var-keyword": true,
"object-literal-shorthand": true,
2017-06-04 18:45:55 +02:00
"object-literal-surrounding-space": true,
2015-06-30 02:47:24 +02:00
"one-line": [true,
2015-08-26 03:09:32 +02:00
"check-open-brace",
"check-whitespace"
2015-06-30 02:47:24 +02:00
],
2017-06-04 18:45:55 +02:00
"prefer-const": true,
"quotemark": [true,
"double",
"avoid-escape"
],
"semicolon": [true, "always", "ignore-bound-class-methods"],
2017-06-04 18:45:55 +02:00
"triple-equals": true,
"type-operator-spacing": true,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
2017-06-04 18:45:55 +02:00
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type"
]
2017-06-04 18:45:55 +02:00
}
}