Skip to content

Commit

Permalink
fix: add @typescript-eslint/no-redeclare
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 2, 2020
1 parent 270073f commit 73e39a6
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 @@ -44,6 +44,7 @@ test('export', (t): void => {
'lines-between-class-members': 'off',
'no-array-constructor': 'off',
'no-dupe-class-members': 'off',
'no-redeclare': 'off',
'no-throw-literal': 'off',
'no-undef': 'off',
'no-unused-vars': 'off',
Expand Down Expand Up @@ -122,6 +123,7 @@ test('export', (t): void => {
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-this-alias': ['error', { allowDestructuring: true }],
'@typescript-eslint/no-redeclare': ['error', { builtinGlobals: false }],
'@typescript-eslint/no-throw-literal': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const equivalents = [
'lines-between-class-members',
'no-array-constructor',
'no-dupe-class-members',
'no-redeclare',
'no-throw-literal',
'no-unused-vars',
'no-unused-expressions',
Expand Down

0 comments on commit 73e39a6

Please sign in to comment.