Skip to content

Commit 4880323

Browse files
committedAug 11, 2024
fix: turn off deprecated rules
1 parent 0f873d1 commit 4880323

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/configs/typescript.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ export async function typescript(
146146
'ts/no-extraneous-class': 'off',
147147
'ts/no-import-type-side-effects': 'error',
148148
'ts/no-invalid-void-type': 'off',
149-
'ts/no-loss-of-precision': 'error',
149+
// this is deprecated
150+
'ts/no-loss-of-precision': 'off',
150151
'ts/no-non-null-assertion': 'off',
151152
'ts/no-redeclare': 'error',
152153
'ts/no-require-imports': 'error',

0 commit comments

Comments
 (0)