From 163c1c342e1bf80db15a7a8bf63c8628824fb6dc Mon Sep 17 00:00:00 2001 From: Ian Schmitz Date: Sat, 4 May 2019 22:44:29 -0700 Subject: [PATCH] Disable no-dupe-class-members for TypeScript --- packages/eslint-config-react-app/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index c3782bb21be..bc6d0a14c4b 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -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',