2016-12-28 14:49:51 -08:00
|
|
|
{
|
2017-05-24 04:50:17 -07:00
|
|
|
"defaultSeverity": "error",
|
|
|
|
"extends": [
|
2018-12-26 08:32:31 -08:00
|
|
|
"tslint:recommended",
|
|
|
|
"tslint-sonarts"
|
2017-05-24 04:50:17 -07:00
|
|
|
],
|
|
|
|
"jsRules": {},
|
|
|
|
"rules": {
|
2018-04-25 22:44:23 -07:00
|
|
|
"align": false,
|
2019-02-13 06:43:55 -08:00
|
|
|
"indent": [true, "tabs"],
|
|
|
|
"quotemark": [true, "single"],
|
2017-05-24 04:50:17 -07:00
|
|
|
"no-var-requires": false,
|
|
|
|
"no-string-throw": false,
|
|
|
|
"trailing-comma": [false],
|
|
|
|
"object-literal-sort-keys": false,
|
|
|
|
"curly": false,
|
|
|
|
"no-console": [false],
|
2019-02-13 06:43:55 -08:00
|
|
|
"no-empty": false,
|
2017-05-24 04:50:17 -07:00
|
|
|
"ordered-imports": [false],
|
|
|
|
"arrow-parens": false,
|
2019-02-04 01:27:45 -08:00
|
|
|
"array-type": [true, "array"],
|
2017-05-24 04:50:17 -07:00
|
|
|
"object-literal-shorthand": false,
|
2017-10-06 12:30:57 -07:00
|
|
|
"object-literal-key-quotes": false,
|
2017-05-24 04:50:17 -07:00
|
|
|
"triple-equals": [false],
|
|
|
|
"no-shadowed-variable": false,
|
|
|
|
"no-string-literal": false,
|
2019-03-06 05:55:47 -08:00
|
|
|
"no-conditional-assignment": false,
|
2017-05-24 04:50:17 -07:00
|
|
|
"variable-name": [false],
|
|
|
|
"comment-format": [false],
|
|
|
|
"interface-over-type-literal": false,
|
|
|
|
"max-line-length": [false],
|
2017-10-06 11:36:46 -07:00
|
|
|
"max-classes-per-file": false,
|
2017-05-24 04:50:17 -07:00
|
|
|
"member-ordering": [false],
|
2019-03-06 05:55:47 -08:00
|
|
|
"radix": false,
|
2017-05-24 04:50:17 -07:00
|
|
|
"ban-types": [
|
2019-02-13 06:43:55 -08:00
|
|
|
true,
|
2019-05-04 17:27:55 -07:00
|
|
|
["Object", "Use {} instead."]
|
2018-12-11 03:36:55 -08:00
|
|
|
],
|
|
|
|
"ban": [
|
|
|
|
true,
|
2019-02-13 06:43:55 -08:00
|
|
|
{ "name": ["*", "forEach"], "message": "Use for-of loop instead." }
|
2018-12-26 08:32:31 -08:00
|
|
|
],
|
|
|
|
"no-duplicate-string": false,
|
|
|
|
"no-commented-code": false,
|
|
|
|
"cognitive-complexity": false,
|
|
|
|
"no-nested-template-literals": false,
|
|
|
|
"no-identical-functions": false,
|
|
|
|
"max-union-size": false,
|
|
|
|
"no-big-function": false,
|
|
|
|
"no-statements-same-line": false,
|
|
|
|
"no-small-switch": false,
|
|
|
|
"no-identical-expressions": false,
|
|
|
|
"no-invalid-await": false,
|
|
|
|
"prefer-immediate-return": false,
|
|
|
|
"no-use-of-empty-return-value": false,
|
|
|
|
"no-collapsible-if": false,
|
|
|
|
"no-ignored-return": false,
|
|
|
|
"no-redundant-boolean": false,
|
|
|
|
"prefer-promise-shorthand": false,
|
|
|
|
"parameters-max-number": false,
|
|
|
|
"no-duplicated-branches": false,
|
|
|
|
"no-identical-conditions": false,
|
2019-01-22 18:55:47 -08:00
|
|
|
"no-useless-cast": false,
|
2020-03-03 18:45:33 -08:00
|
|
|
"no-hardcoded-credentials": false,
|
|
|
|
"no-nested-switch": false,
|
2020-05-09 00:19:09 -07:00
|
|
|
"unified-signatures": false,
|
|
|
|
"no-all-duplicated-branches": false
|
2017-05-24 04:50:17 -07:00
|
|
|
},
|
|
|
|
"rulesDirectory": []
|
2016-12-28 14:49:51 -08:00
|
|
|
}
|