From 933e1f6356267c273704aafb34b07ee9752dc826 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 00:05:32 +0400 Subject: feat(typescript): Rule "no-inferrable-types" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index f13631f..fd56686 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -363,7 +363,7 @@ - [ ] "no-floating-promises" - [ ] "no-for-in-array" - [ ] "no-implied-eval" -- [ ] "no-inferrable-types" +- [X] "no-inferrable-types" - [X] "no-magic-numbers" - [ ] "no-misused-new" - [ ] "no-misused-promises" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 283cdb8..2093e2f 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -46,6 +46,9 @@ "ignoreRestArgs": false } ], + "@typescript-eslint/no-inferrable-types": [ + "off" + ], "@typescript-eslint/no-magic-numbers": [ "warn", { -- cgit v1.2.3