diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 10:55:55 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 10:55:55 +0300 |
commit | 556f81ccfd47b0242e2ae70f8eaa188f14376960 (patch) | |
tree | fae4cdae55047819a9653db2f85a04173a473b60 /src/rules/default.json | |
parent | 1178701bf134ab7ef783826e965ded3051fe6e74 (diff) | |
download | eslint-config-556f81ccfd47b0242e2ae70f8eaa188f14376960.tar.xz eslint-config-556f81ccfd47b0242e2ae70f8eaa188f14376960.zip |
feat(eslint): Rule "no-buffer-constructor"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/default.json')
-rw-r--r-- | src/rules/default.json | 6 |
1 files changed, 6 insertions, 0 deletions
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" ], |