Skip to content

Commit

Permalink
downgrade no-magic-numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Sep 27, 2024
1 parent 0c9c334 commit 718d8b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 718d8b7

Please sign in to comment.