From 0cc87e95e987568e4569ee397b555f69ad366dcf Mon Sep 17 00:00:00 2001 From: John Livingston Date: Mon, 16 Sep 2024 11:34:44 +0200 Subject: [PATCH] Disabling new @typescript-eslint/no-magic-numbers rule. --- eslint.config.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 4dbd21f0..7793adaf 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -70,6 +70,7 @@ export default tseslint.config( '@typescript-eslint/no-confusing-void-expression': 'off', '@typescript-eslint/class-methods-use-this': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off', + '@typescript-eslint/no-magic-numbers': 'off', 'max-len': [ 'error', { @@ -104,6 +105,7 @@ export default tseslint.config( '@typescript-eslint/no-confusing-void-expression': 'off', '@typescript-eslint/class-methods-use-this': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off', + '@typescript-eslint/no-magic-numbers': 'off', 'max-params': 'off', 'init-declarations': 'off',