From 407a0131006a95552fba3e9143734ffb554bde67 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 12:07:39 +0400 Subject: feat(typescript): Rule "no-implied-eval" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 91e9d13..0832f8b 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -362,7 +362,7 @@ - [ ] "no-extraneous-class" - [ ] "no-floating-promises" - [ ] "no-for-in-array" -- [ ] "no-implied-eval" +- [X] "no-implied-eval" - [X] "no-inferrable-types" - [X] "no-magic-numbers" - [ ] "no-misused-new" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 913d9be..868cf26 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -49,6 +49,9 @@ "ignoreRestArgs": false } ], + "@typescript-eslint/no-implied-eval": [ + "error" + ], "@typescript-eslint/no-inferrable-types": [ "off" ], @@ -154,6 +157,9 @@ "indent": [ "off" ], + "no-implied-eval": [ + "off" + ], "no-magic-numbers": [ "off" ], -- cgit v1.2.3