Skip to content

Commit 6ff2bfa

Browse files
authored
Disable no-dupe-class-members for TypeScript (#6987)
1 parent bf886bc commit 6ff2bfa

File tree

1 file changed

+2
-0
lines changed
  • packages/eslint-config-react-app

1 file changed

+2
-0
lines changed

packages/eslint-config-react-app/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ module.exports = {
7171
rules: {
7272
// TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906)
7373
'default-case': 'off',
74+
// 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/291)
75+
'no-dupe-class-members': 'off',
7476

7577
// Add TypeScript specific rules (and turn off ESLint equivalents)
7678
'@typescript-eslint/no-angle-bracket-type-assertion': 'warn',

0 commit comments

Comments
 (0)