Skip to content

Commit dcdbd34

Browse files
committedAug 5, 2024
fix: disable some TS rules
1 parent bcd8376 commit dcdbd34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

Diff for: ‎src/configs/typescript.ts

+3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ export const typescriptCore = tseslint.config({
2626
{ disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' },
2727
],
2828
'@typescript-eslint/method-signature-style': ['error', 'property'], // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
29+
'@typescript-eslint/no-empty-object-type': 'off',
2930
'@typescript-eslint/no-explicit-any': 'off',
3031
'@typescript-eslint/no-import-type-side-effects': 'error',
3132
'@typescript-eslint/no-non-null-assertion': 'off',
3233
'@typescript-eslint/no-redeclare': 'error',
34+
'@typescript-eslint/no-unsafe-function-type': 'off',
35+
'@typescript-eslint/no-unused-expressions': 'off',
3336

3437
// handled by unused-imports/no-unused-imports
3538
'@typescript-eslint/no-unused-vars': 'off',

0 commit comments

Comments
 (0)
Please sign in to comment.