From 394ddcc65f3cdb8bc81b3aef189b60a000341bf2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 12 Sep 2021 14:06:49 +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 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index 96ad1d13..2153335c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -30,11 +30,16 @@ 2, { "SwitchCase": 1, + "CallExpression": { + "arguments": 1 + }, "FunctionDeclaration": { - "parameters": 2 + "parameters": 2, + "body": 1 }, "FunctionExpression": { - "parameters": 2 + "parameters": 2, + "body": 1 } } ], @@ -215,7 +220,7 @@ ], "extends": "plugin:node/recommended", "rules": { - "node/shebang" : "off", + "node/shebang": "off", "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-var-requires": "off" } -- 2.34.1