feat(eslint): Rule "no-buffer-constructor"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 11:55:55 +04:00
parent 1178701bf1
commit 556f81ccfd
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 2 deletions

View File

@ -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"

View File

@ -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"
],