Skip to content

Commit

Permalink
Enforce the use of the arrow function syntax for method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Feb 3, 2024
1 parent 0b5f9fc commit bb2ae9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export const typescriptConfig = {
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/init-declarations': 'off',
'@typescript-eslint/method-signature-style': ['error', 'method'],
'@typescript-eslint/method-signature-style': ['error', 'property'],
'@typescript-eslint/no-base-to-string': 'error',
...configureWrappedCoreRule('no-dupe-class-members'),
'@typescript-eslint/no-dynamic-delete': ['error'],
Expand Down

0 comments on commit bb2ae9c

Please sign in to comment.