Skip to content

Commit

Permalink
feat(@typescript-eslint): enable no-dupe-class-members
Browse files Browse the repository at this point in the history
It's an extension of a core rule that is enabled in our standard config that we'd disabled due to
false positives in typescript
  • Loading branch information
G-Rath committed Nov 23, 2021
1 parent c7a3921 commit 881ac65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const config = {
leadingUnderscore: 'forbid'
}
],
'@typescript-eslint/no-dupe-class-members': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-loop-func': 'error',
Expand Down Expand Up @@ -115,6 +116,7 @@ const config = {
'guard-for-in': 'off',
'init-declarations': 'off', // handled by TS & --noImplicitAny
'lines-between-class-members': 'off',
'no-dupe-class-members': 'off', // @typescript-eslint
'no-import-assign': 'off',
'no-invalid-this': 'off',
'no-iterator': 'off',
Expand Down

0 comments on commit 881ac65

Please sign in to comment.