From 5f0508618a2db441b58d22fafb15701cb6bdd21a Mon Sep 17 00:00:00 2001 From: Andy Hopper <andyhopp@amazon.com> Date: Thu, 6 Jun 2019 11:25:11 -0400 Subject: [PATCH] Disabled Typescript no-undef rule per https://github.com/typescript-eslint/typescript-eslint/issues/477 --- 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 fbd3f2a3f97..f09380d3007 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -73,6 +73,8 @@ module.exports = { 'default-case': 'off', // 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/291) 'no-dupe-class-members': 'off', + // 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/477) + 'no-undef': 'off', // Add TypeScript specific rules (and turn off ESLint equivalents) '@typescript-eslint/no-angle-bracket-type-assertion': 'warn',