From 556f81ccfd47b0242e2ae70f8eaa188f14376960 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 11:55:55 +0400 Subject: feat(eslint): Rule "no-buffer-constructor" Signed-off-by: Valentin Popov --- src/rules/default.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/rules/default.json') 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" ], -- cgit v1.2.3