diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-12-27 01:32:31 +0900 |
|---|---|---|
| committer | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2018-12-27 01:32:31 +0900 |
| commit | c86deab69c84dfa0a58c063522238b47513c2b8d (patch) | |
| tree | 50cbea0b8442c8ebfb50361d732d97ffaea3dd37 /tslint.json | |
| parent | Resolve #3248 (diff) | |
| download | sharkey-c86deab69c84dfa0a58c063522238b47513c2b8d.tar.gz sharkey-c86deab69c84dfa0a58c063522238b47513c2b8d.tar.bz2 sharkey-c86deab69c84dfa0a58c063522238b47513c2b8d.zip | |
Introduce SonarTS (#3756)
Diffstat (limited to 'tslint.json')
| -rw-r--r-- | tslint.json | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/tslint.json b/tslint.json index 6c9af508bb..a58b4f1206 100644 --- a/tslint.json +++ b/tslint.json @@ -1,7 +1,8 @@ { "defaultSeverity": "error", "extends": [ - "tslint:recommended" + "tslint:recommended", + "tslint-sonarts" ], "jsRules": {}, "rules": { @@ -35,7 +36,28 @@ "ban": [ true, {"name": ["*", "forEach"], "message": "Use for-of loop instead."} - ] + ], + "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, + "no-useless-cast": false }, "rulesDirectory": [] } |