X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc;h=2153335c5ebfd5164e4f1b88eded5fc72bd0ff11;hb=107efcc6655b5a4409fc5db3da90869d6881a195;hp=a32321444c505a03c36a257ae7ed49c49eefe4de;hpb=431c489c2b4b442ffad31573222b910780887495;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc b/.eslintrc index a3232144..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 } } ], @@ -207,5 +212,18 @@ "error", "single" ] - } + }, + "overrides": [ + { + "files": [ + "*.js" + ], + "extends": "plugin:node/recommended", + "rules": { + "node/shebang": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-var-requires": "off" + } + } + ] }