Disabling new @typescript-eslint/no-magic-numbers rule.

This commit is contained in:
John Livingston 2024-09-16 11:34:44 +02:00
parent 9a30958979
commit 0cc87e95e9
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -70,6 +70,7 @@ export default tseslint.config(
'@typescript-eslint/no-confusing-void-expression': 'off', '@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/class-methods-use-this': 'off', '@typescript-eslint/class-methods-use-this': 'off',
'@typescript-eslint/non-nullable-type-assertion-style': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'max-len': [ 'max-len': [
'error', 'error',
{ {
@ -104,6 +105,7 @@ export default tseslint.config(
'@typescript-eslint/no-confusing-void-expression': 'off', '@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/class-methods-use-this': 'off', '@typescript-eslint/class-methods-use-this': 'off',
'@typescript-eslint/non-nullable-type-assertion-style': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'max-params': 'off', 'max-params': 'off',
'init-declarations': 'off', 'init-declarations': 'off',