From 0e260d2c3b15a26264cfac1b8e284f31928d0f07 Mon Sep 17 00:00:00 2001 From: Danny Skoog Date: Thu, 17 Oct 2019 01:52:48 +0200 Subject: [PATCH] style: enforce disallowance of String, Number and Boolean constructors (#33210) The `no-construct` tslint rule partially enforces the style guide rule https://google.github.io/styleguide/jsguide.html#disallowed-features-wrapper-objects PR Close #33210 --- tslint.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tslint.json b/tslint.json index 91b52d2fe3..6a87bfb3c8 100644 --- a/tslint.json +++ b/tslint.json @@ -14,6 +14,7 @@ true, "log" ], + "no-construct": true, "no-duplicate-imports": true, "no-duplicate-variable": true, "no-jasmine-focus": true,