summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:25:55 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:25:55 +0300
commite5752a7db1504475596273dab283b6bf76dcd9f5 (patch)
tree9bcd2f2098cc764496a7e6feb3b3144b9270e1cb
parent5bd92b74f29032bedfc350a17f663f220d45461a (diff)
downloadeslint-config-e5752a7db1504475596273dab283b6bf76dcd9f5.tar.xz
eslint-config-e5752a7db1504475596273dab283b6bf76dcd9f5.zip
feat(eslint): Rule "no-caller"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 214dcda..edbda2c 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -83,7 +83,7 @@
- [ ] "no-await-in-loop"
- [ ] "no-bitwise"
- [ ] "no-buffer-constructor"
-- [ ] "no-caller"
+- [X] "no-caller"
- [ ] "no-case-declarations"
- [X] "no-catch-shadow"
- [ ] "no-class-assign"
diff --git a/src/rules/default.json b/src/rules/default.json
index d4b96c7..05db158 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -200,6 +200,9 @@
"no-alert": [
"warn"
],
+ "no-caller": [
+ "error"
+ ],
"no-catch-shadow": [
"off"
],