From fabd69656329e5b2d23c329fe21866484ea31252 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Tue, 2 May 2017 13:41:07 +0200 Subject: [PATCH] TSLint: Disable "prefer-for-of" rule The glimmer build pipeline transpiles for..of loops using Babel, which is not able to optimize looping over an array properly. --- tslint.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tslint.json b/tslint.json index 07293a1..529f07a 100644 --- a/tslint.json +++ b/tslint.json @@ -16,6 +16,7 @@ "no-empty": false, "only-arrow-functions": [false], "no-shadowed-variable": false, + "prefer-for-of": false, "prefer-const": false, "object-literal-key-quotes": [true, "as-needed"], "member-access": [true, "no-public"]