From bb2ae9c5cd3c9c9c24ad6e509a73bf1af4057f23 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Sat, 3 Feb 2024 18:28:40 +0100 Subject: [PATCH] Enforce the use of the arrow function syntax for method signatures --- configs/typescript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/typescript.js b/configs/typescript.js index 488382a..c193ecc 100644 --- a/configs/typescript.js +++ b/configs/typescript.js @@ -218,7 +218,7 @@ export const typescriptConfig = { '@typescript-eslint/explicit-member-accessibility': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/init-declarations': 'off', - '@typescript-eslint/method-signature-style': ['error', 'method'], + '@typescript-eslint/method-signature-style': ['error', 'property'], '@typescript-eslint/no-base-to-string': 'error', ...configureWrappedCoreRule('no-dupe-class-members'), '@typescript-eslint/no-dynamic-delete': ['error'],