From 6ff2bfaf55b92e340c61ae799262b0ff05746bfb Mon Sep 17 00:00:00 2001 From: Ian Schmitz Date: Tue, 7 May 2019 09:17:06 -0700 Subject: [PATCH] Disable no-dupe-class-members for TypeScript (#6987) --- 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',