From 2eec58795d17543d05d058fa170dca95d8f26056 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:42:45 +0400 Subject: feat(eslint): Rule "no-new-wrappers" 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 91cb41a..30e6de5 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -156,7 +156,7 @@ - [ ] "no-new-object" - [ ] "no-new-require" - [ ] "no-new-symbol" -- [ ] "no-new-wrappers" +- [X] "no-new-wrappers" - [ ] "no-obj-calls" - [ ] "no-octal" - [ ] "no-octal-escape" diff --git a/src/rules/default.json b/src/rules/default.json index a59b8d3..d76ffeb 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -299,6 +299,9 @@ "no-new-func": [ "error" ], + "no-new-wrappers": [ + "error" + ], "no-spaced-func": [ "off" ], -- cgit v1.2.3