2019-11-19 23:06:27 +08:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"adjacent-overload-signatures": true,
|
|
|
|
"ban-comma-operator": true,
|
|
|
|
"no-namespace": true,
|
|
|
|
"no-parameter-reassignment": true,
|
|
|
|
"no-reference": true,
|
|
|
|
"no-unnecessary-type-assertion": true,
|
|
|
|
"label-position": true,
|
|
|
|
"no-conditional-assignment": true,
|
|
|
|
"no-construct": true,
|
|
|
|
"no-duplicate-super": true,
|
|
|
|
"no-duplicate-switch-case": true,
|
|
|
|
"no-duplicate-variable": [true, "check-parameters"],
|
|
|
|
"no-shadowed-variable": true,
|
|
|
|
"no-empty": [true, "allow-empty-catch"],
|
|
|
|
"no-floating-promises": false,
|
|
|
|
"no-implicit-dependencies": true,
|
|
|
|
"no-invalid-this": true,
|
|
|
|
"no-string-throw": true,
|
2020-01-28 12:55:28 +08:00
|
|
|
"no-unsafe-finally": false,
|
2019-11-19 23:06:27 +08:00
|
|
|
"no-use-before-declare": true,
|
|
|
|
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
|
|
|
|
"no-duplicate-imports": true,
|
|
|
|
"no-empty-interface": {"severity": "warning"},
|
|
|
|
"no-import-side-effect": {"severity": "warning"},
|
|
|
|
"no-var-keyword": {"severity": "warning"},
|
|
|
|
"triple-equals": {"severity": "warning"},
|
|
|
|
"deprecation": {"severity": "warning"},
|
|
|
|
"prefer-for-of": {"severity": "warning"},
|
|
|
|
"unified-signatures": {"severity": "warning"},
|
|
|
|
"prefer-const": {"severity": "warning"},
|
|
|
|
"trailing-comma": {"severity": "warning"}
|
|
|
|
},
|
|
|
|
|
|
|
|
"defaultSeverity": "error"
|
|
|
|
}
|