aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:42:45 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:42:45 +0300
commit2eec58795d17543d05d058fa170dca95d8f26056 (patch)
tree036449035b7d2bb4e4b91774806bf8a175c1ca81
parent93df216d0d99c3490e1651ba2de8cd68216436ad (diff)
downloadeslint-config-2eec58795d17543d05d058fa170dca95d8f26056.tar.xz
eslint-config-2eec58795d17543d05d058fa170dca95d8f26056.zip
feat(eslint): Rule "no-new-wrappers"
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 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"
],