From 6ed078de30a7bf35deace728857d1d293d59eb15 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 18 Aug 2021 17:24:47 +0200 Subject: Updated func-style in the base eslint config --- packages/eslint-config-base/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/eslint-config-base/index.js b/packages/eslint-config-base/index.js index bcd5f24..718f15e 100644 --- a/packages/eslint-config-base/index.js +++ b/packages/eslint-config-base/index.js @@ -50,7 +50,7 @@ module.exports = { ], eqeqeq: "error", "func-names": "off", - "func-style": [ "error", "declaration" ], + "func-style": [ "error", "declaration", { allowArrowFunctions: true } ], "id-length": "off", "implicit-arrow-linebreak": [ "error", -- cgit v1.2.3-18-g5258