summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md4
-rw-r--r--src/rules/default.json6
2 files changed, 8 insertions, 2 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 345dc02..35a4b93 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -82,7 +82,7 @@
- [ ] "no-async-promise-executor"
- [ ] "no-await-in-loop"
- [ ] "no-bitwise"
-- [ ] "no-buffer-constructor"
+- [X] "no-buffer-constructor"
- [X] "no-caller"
- [ ] "no-case-declarations"
- [X] "no-catch-shadow"
@@ -154,7 +154,7 @@
- [ ] "no-new"
- [X] "no-new-func"
- [ ] "no-new-object"
-- [ ] "no-new-require"
+- [X] "no-new-require"
- [ ] "no-new-symbol"
- [X] "no-new-wrappers"
- [ ] "no-obj-calls"
diff --git a/src/rules/default.json b/src/rules/default.json
index 17f61fc..9ee41be 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -211,6 +211,9 @@
"no-alert": [
"warn"
],
+ "no-buffer-constructor": [
+ "error"
+ ],
"no-caller": [
"error"
],
@@ -316,6 +319,9 @@
"no-new-func": [
"error"
],
+ "no-new-require": [
+ "error"
+ ],
"no-new-wrappers": [
"error"
],