From: Jérôme Benoit Date: Sun, 12 Sep 2021 12:06:49 +0000 (+0200) Subject: Refine eslint configuration X-Git-Tag: v1.0.58~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=394ddcc65f3cdb8bc81b3aef189b60a000341bf2;p=e-mobility-charging-stations-simulator.git Refine eslint configuration Signed-off-by: Jérôme Benoit --- 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" }