diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:42:45 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:42:45 +0300 |
commit | 2eec58795d17543d05d058fa170dca95d8f26056 (patch) | |
tree | 036449035b7d2bb4e4b91774806bf8a175c1ca81 | |
parent | 93df216d0d99c3490e1651ba2de8cd68216436ad (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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" ], |