From 04cb0ea4a39037250fde23e6c69ecb96a70d11e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 1 Apr 2021 23:26:29 +0200 Subject: [PATCH] Refine eslint configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .eslintrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 86140678..05faff16 100644 --- a/.eslintrc +++ b/.eslintrc @@ -29,7 +29,13 @@ "error", 2, { - "SwitchCase": 1 + "SwitchCase": 1, + "FunctionDeclaration": { + "parameters": 2 + }, + "FunctionExpression": { + "parameters": 2 + } } ], "@typescript-eslint/array-type": "off", -- 2.34.1