Skip to content

Commit

Permalink
Disable no-dupe-class-members for TypeScript (#6987)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianschmitz authored May 7, 2019
1 parent bf886bc commit 6ff2bfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ module.exports = {
rules: {
// TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906)
'default-case': 'off',
// 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/291)
'no-dupe-class-members': 'off',

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

0 comments on commit 6ff2bfa

Please sign in to comment.