Refine eslint configuration.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 1 Apr 2021 21:26:29 +0000 (23:26 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 1 Apr 2021 21:26:29 +0000 (23:26 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.eslintrc

index 86140678e7f404504d93b8d53045f09e6fe632e5..05faff1669a1ba343722af3fbe60fc24752950af 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
       "error",
       2,
       {
-        "SwitchCase": 1
+        "SwitchCase": 1,
+        "FunctionDeclaration": {
+          "parameters": 2
+        },
+        "FunctionExpression": {
+          "parameters": 2
+        }
       }
     ],
     "@typescript-eslint/array-type": "off",