diff --git a/eslint.config.js b/eslint.config.js index 5bf8605..6f60085 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -28,6 +28,7 @@ export const config = tseslint.config(eslint.configs.recommended, ...tseslint.co rules: { '@typescript-eslint/no-extra-semi': 'off', '@typescript-eslint/no-non-null-assertion': 'warn', + '@typescript-eslint/no-magic-numbers': 'warn', '@typescript-eslint/no-misused-promises': 'warn', '@typescript-eslint/no-unnecessary-type-assertion': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off', diff --git a/eslint.config.ts b/eslint.config.ts index a6d73ab..0e8321f 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -50,6 +50,7 @@ export const config = tseslint.config( rules: { '@typescript-eslint/no-extra-semi': 'off', '@typescript-eslint/no-non-null-assertion': 'warn', + '@typescript-eslint/no-magic-numbers': 'warn', '@typescript-eslint/no-misused-promises': 'warn', '@typescript-eslint/no-unnecessary-type-assertion': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off',