From 941fa88c936c8bbe8dfef21b3eb18b4f79d19999 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Sun, 23 Dec 2018 13:31:58 -0500 Subject: [PATCH] Revert breaking change to tslint:recommended, update tslint:latest (#4404) --- src/configs/latest.ts | 4 ++++ src/configs/recommended.ts | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/configs/latest.ts b/src/configs/latest.ts index f96fff8b091..7c489301d7b 100644 --- a/src/configs/latest.ts +++ b/src/configs/latest.ts @@ -65,6 +65,10 @@ export const rules = { "no-duplicate-switch-case": true, "no-implicit-dependencies": true, "no-return-await": true, + + // added in v5.12 + "function-constructor": true, + "unnecessary-bind": true, }; // tslint:enable object-literal-sort-keys diff --git a/src/configs/recommended.ts b/src/configs/recommended.ts index 7314eea224d..b918e6aa6e5 100644 --- a/src/configs/recommended.ts +++ b/src/configs/recommended.ts @@ -47,7 +47,6 @@ export const rules = { "cyclomatic-complexity": false, eofline: true, forin: true, - "function-constructor": true, "import-spacing": true, indent: { options: ["spaces"],