From 7ecc10853dac4302e2fffb29df4c24d095075343 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 22:39:15 +0400 Subject: feat(eslint): Rule "new-cap" Signed-off-by: Valentin Popov --- src/rules/default.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/rules/default.json b/src/rules/default.json index f8b704d..ee9a2f6 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -89,6 +89,14 @@ "lines-around-directive": [ "off" ], + "new-cap": [ + "error", + { + "capIsNew": true, + "newIsCap": true, + "properties": false + } + ], "newline-after-var": [ "off" ], -- cgit v1.2.3