diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 11:07:39 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 11:07:39 +0300 |
commit | 407a0131006a95552fba3e9143734ffb554bde67 (patch) | |
tree | b82018e4d7def74a5b3945e0688038afba593746 | |
parent | e5631d6bbbbc34fa4975424cd46ac1eadedf9880 (diff) | |
download | eslint-config-407a0131006a95552fba3e9143734ffb554bde67.tar.xz eslint-config-407a0131006a95552fba3e9143734ffb554bde67.zip |
feat(typescript): Rule "no-implied-eval"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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" ], |