diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-12-11 20:36:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-11 20:36:55 +0900 |
| commit | 125849673a1aba46021852ee473d00f4520d1bd6 (patch) | |
| tree | e30d39490236df402b97a9963dafa44eaf549368 /tslint.json | |
| parent | Fix error (diff) | |
| download | misskey-125849673a1aba46021852ee473d00f4520d1bd6.tar.gz misskey-125849673a1aba46021852ee473d00f4520d1bd6.tar.bz2 misskey-125849673a1aba46021852ee473d00f4520d1bd6.zip | |
Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Diffstat (limited to 'tslint.json')
| -rw-r--r-- | tslint.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tslint.json b/tslint.json index 1adc0a2aed..6c9af508bb 100644 --- a/tslint.json +++ b/tslint.json @@ -31,6 +31,10 @@ "member-ordering": [false], "ban-types": [ "Object" + ], + "ban": [ + true, + {"name": ["*", "forEach"], "message": "Use for-of loop instead."} ] }, "rulesDirectory": [] |