From 62aa41d04edd0e88ff2f01ca6b2a2a9fa53c6643 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Fri, 3 Jan 2020 19:01:46 +0100 Subject: [PATCH] fix for local functions --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5748eb9..d1f7de5 100644 --- a/index.js +++ b/index.js @@ -143,7 +143,7 @@ module.exports = { 'func-call-spacing': ['error', 'always'], 'func-name-matching': ['error', 'always'], 'func-names': ['error', 'always'], - 'func-style': ['error', 'declaration', { allowArrowFunctions: false }], + 'func-style': ['error', 'declaration', { allowArrowFunctions: true }], 'function-call-argument-newline': ['error', 'consistent'], 'function-paren-newline': ['error', 'multiline-arguments'], 'implicit-arrow-linebreak': ['error', 'beside'],