2020-11-21 15:41:31 +00:00
|
|
|
{
|
|
|
|
"extends": "tslint:recommended",
|
|
|
|
"rules": {
|
|
|
|
"align": {
|
|
|
|
"options": [
|
|
|
|
"parameters",
|
|
|
|
"statements"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"array-type": false,
|
|
|
|
"arrow-return-shorthand": true,
|
|
|
|
"curly": true,
|
|
|
|
"deprecation": {
|
|
|
|
"severity": "warning"
|
|
|
|
},
|
|
|
|
"eofline": true,
|
|
|
|
"import-spacing": true,
|
|
|
|
"indent": {
|
|
|
|
"options": [
|
|
|
|
"spaces"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"max-classes-per-file": false,
|
|
|
|
"max-line-length": [
|
|
|
|
true,
|
|
|
|
140
|
|
|
|
],
|
|
|
|
"member-ordering": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"order": [
|
|
|
|
"static-field",
|
|
|
|
"instance-field",
|
|
|
|
"static-method",
|
|
|
|
"instance-method"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-console": [
|
|
|
|
true,
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
],
|
|
|
|
"no-empty": false,
|
|
|
|
"no-inferrable-types": [
|
|
|
|
true,
|
|
|
|
"ignore-params"
|
|
|
|
],
|
|
|
|
"no-non-null-assertion": true,
|
|
|
|
"no-redundant-jsdoc": true,
|
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-var-requires": false,
|
|
|
|
"object-literal-key-quotes": [
|
|
|
|
true,
|
|
|
|
"as-needed"
|
|
|
|
],
|
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semicolon": {
|
|
|
|
"options": [
|
|
|
|
"always"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"space-before-function-paren": {
|
|
|
|
"options": {
|
|
|
|
"anonymous": "never",
|
|
|
|
"asyncArrow": "always",
|
|
|
|
"constructor": "never",
|
|
|
|
"method": "never",
|
|
|
|
"named": "never"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typedef": [
|
|
|
|
true,
|
|
|
|
"call-signature"
|
|
|
|
],
|
2020-11-29 19:25:17 +00:00
|
|
|
"forin": false,
|
|
|
|
"ban-types": {
|
|
|
|
"function": false
|
|
|
|
},
|
2020-11-21 15:41:31 +00:00
|
|
|
"typedef-whitespace": {
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"variable-name": {
|
|
|
|
"options": [
|
|
|
|
"ban-keywords",
|
|
|
|
"check-format",
|
|
|
|
"allow-pascal-case"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"whitespace": {
|
|
|
|
"options": [
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator",
|
|
|
|
"check-type",
|
|
|
|
"check-typecast"
|
|
|
|
]
|
2020-11-29 19:25:17 +00:00
|
|
|
}
|
2020-11-21 15:41:31 +00:00
|
|
|
}
|
|
|
|
}
|