You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.3 KiB
JSON
69 lines
1.3 KiB
JSON
{
|
|
"tslint.enable": true,
|
|
"rules": {
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"indent": [
|
|
true,
|
|
"spaces",
|
|
2
|
|
],
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"no-var-keyword": true,
|
|
"quotemark": [
|
|
false,
|
|
"double",
|
|
"avoid-escape"
|
|
],
|
|
"semicolon": [
|
|
true,
|
|
"never",
|
|
"ignore-bound-class-methods"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-type"
|
|
],
|
|
"trailing-comma": [
|
|
false,
|
|
{
|
|
"multiline": "always",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"no-internal-module": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-null-keyword": false,
|
|
"prefer-const": false,
|
|
"jsdoc-format": true
|
|
}
|
|
} |