Skip to content

Commit

Permalink
fix: disable no-dupe-class-members (#215)
Browse files Browse the repository at this point in the history
Fixes #213.
  • Loading branch information
mightyiam committed Jan 21, 2020
1 parent e42b553 commit 3858aff
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -35,6 +35,7 @@ test('export', (t): void => {
camelcase: 'off',
indent: 'off',
'no-array-constructor': 'off',
'no-duplicate-class-members': 'off',
'no-undef': 'off',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export = {
// TypeScript has this functionality by default:
'no-undef': 'off',

// Incompatible with TypeScript function overloads:
'no-duplicate-class-members': 'off',

// Rules replaced by @typescript-eslint versions:
...fromEntries(equivalents.map((name) => [name, 'off'])),
camelcase: 'off',
Expand Down

0 comments on commit 3858aff

Please sign in to comment.