Skip to content

Commit

Permalink
fix: ensure @typescript-eslint/semi rule is applied (#275)
Browse files Browse the repository at this point in the history
Co-Authored-By: Shahar Dawn Or <mightyiampresence@gmail.com>
  • Loading branch information
bengourley and mightyiam committed Apr 22, 2020
1 parent 7226f7d commit 92b21c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ test('export', (t): void => {
'no-unused-expressions': 'off',
'no-useless-constructor': 'off',
quotes: 'off',
semi: 'off',
'space-before-function-paren': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
Expand Down Expand Up @@ -125,6 +126,7 @@ test('export', (t): void => {
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'@typescript-eslint/return-await': ['error', 'always'],
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/space-before-function-paren': ['error', 'always'],
'@typescript-eslint/strict-boolean-expressions': 'error',
'@typescript-eslint/triple-slash-reference': ['error', { lib: 'never', path: 'never', types: 'never' }],
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const equivalents = [
'no-unused-expressions',
'no-useless-constructor',
'quotes',
'semi',
'space-before-function-paren'
] as const

Expand Down

1 comment on commit 92b21c7

@mightyiam
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have been marked as a breaking change. I didn't catch that.

Please sign in to comment.