Skip to content

Commit

Permalink
feat: enable method-signature-style
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 19, 2024
1 parent 5c9960a commit 1b4636d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/typescript.ts
Expand Up @@ -17,6 +17,7 @@ export const typescriptRules: Rules = {
'error',
{ disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' },
],
'@typescript-eslint/method-signature-style': ['error', 'property'], // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
Expand Down

0 comments on commit 1b4636d

Please sign in to comment.