summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 11:07:39 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 11:07:39 +0300
commit407a0131006a95552fba3e9143734ffb554bde67 (patch)
treeb82018e4d7def74a5b3945e0688038afba593746
parente5631d6bbbbc34fa4975424cd46ac1eadedf9880 (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/typescript/default.json6
2 files changed, 7 insertions, 1 deletions
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"
],