Skip to content

Commit

Permalink
feat: rule @typescript-eslint/method-signature-style
Browse files Browse the repository at this point in the history
BREAKING CHANGE: add rule @typescript-eslint/method-signature-style
  • Loading branch information
mightyiam committed Apr 23, 2020
1 parent 34e0dca commit aecc59e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ test('export', (t): void => {
singleline: { delimiter: 'comma', requireLast: false }
}
],
'@typescript-eslint/method-signature-style': 'error',
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-dupe-class-members': 'error',
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export = {
singleline: { delimiter: 'comma', requireLast: false }
}
],
'@typescript-eslint/method-signature-style': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-empty-interface': 'error',
Expand Down

0 comments on commit aecc59e

Please sign in to comment.