58 строки
1.1 KiB
JSON
58 строки
1.1 KiB
JSON
{
|
|
"extends": "tslint:latest",
|
|
"rules": {
|
|
"array-type": [
|
|
true,
|
|
"generic"
|
|
],
|
|
"arrow-return-shorthand": true,
|
|
"member-access": [
|
|
true,
|
|
"no-public"
|
|
],
|
|
"newline-before-return": true,
|
|
"no-angle-bracket-type-assertion": false,
|
|
"no-consecutive-blank-lines": [
|
|
true,
|
|
1
|
|
],
|
|
"no-console": [
|
|
false
|
|
],
|
|
"no-irregular-whitespace": true,
|
|
"no-unnecessary-initializer": true,
|
|
"no-var-requires": false,
|
|
"object-literal-key-quotes": [
|
|
true,
|
|
"as-needed"
|
|
],
|
|
"object-literal-sort-keys": false,
|
|
"one-variable-per-declaration": [
|
|
true,
|
|
"ignore-for-loop"
|
|
],
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-type",
|
|
"check-preblock"
|
|
]
|
|
}
|
|
} |