From e5752a7db1504475596273dab283b6bf76dcd9f5 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:25:55 +0400 Subject: feat(eslint): Rule "no-caller" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3