From fc1008e7736f68daf9a331e70782376275f57d21 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 27 Feb 2021 17:54:24 +0100 Subject: [PATCH] Enforce the use of function declarations Signed-off-by: David Mehren --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index fa37f4059..0d821dc32 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,7 @@ module.exports = { jest: true, }, rules: { + 'func-style': ['error', 'declaration'], '@typescript-eslint/no-unused-vars': [ 'warn', { argsIgnorePattern: '^_+$' },