From e9c59d76c3e3d844663c72f8e81de839a07cc304 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Thu, 20 Dec 2018 16:03:10 -0500 Subject: [PATCH 1/3] Update recommended.ts --- src/configs/recommended.ts | 1 - 1 file changed, 1 deletion(-) 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"], From b1d2124ad26617aafe7d9de227163ac541369ae4 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Thu, 20 Dec 2018 16:03:41 -0500 Subject: [PATCH 2/3] Update latest.ts --- src/configs/latest.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/configs/latest.ts b/src/configs/latest.ts index f96fff8b091..fbb95e164f3 100644 --- a/src/configs/latest.ts +++ b/src/configs/latest.ts @@ -65,6 +65,9 @@ export const rules = { "no-duplicate-switch-case": true, "no-implicit-dependencies": true, "no-return-await": true, + + // added in v5.12 + "function-constructor": true, }; // tslint:enable object-literal-sort-keys From fa6b45cfb5aa23decd238fdfefdcea999466cf5a Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Thu, 20 Dec 2018 16:09:44 -0500 Subject: [PATCH 3/3] Update latest.ts --- src/configs/latest.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/configs/latest.ts b/src/configs/latest.ts index fbb95e164f3..7c489301d7b 100644 --- a/src/configs/latest.ts +++ b/src/configs/latest.ts @@ -68,6 +68,7 @@ export const rules = { // added in v5.12 "function-constructor": true, + "unnecessary-bind": true, }; // tslint:enable object-literal-sort-keys