From 93df216d0d99c3490e1651ba2de8cd68216436ad Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:40:57 +0400 Subject: feat(eslint): Rule "no-new-func" Signed-off-by: Valentin Popov --- src/rules/default.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rules') diff --git a/src/rules/default.json b/src/rules/default.json index 504747e..a59b8d3 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -296,6 +296,9 @@ "no-nested-ternary": [ "error" ], + "no-new-func": [ + "error" + ], "no-spaced-func": [ "off" ], -- cgit v1.2.3