From 7a5d9199e4755de5888c21de51f8f471c0ede454 Mon Sep 17 00:00:00 2001 From: Tom Spencer Date: Wed, 24 Nov 2021 12:36:02 +0000 Subject: [PATCH] Disable ESLint `no-undef` for TypeScript files The `typescript-eslint` project recommends that `no-undef` is disabled for TypeScript files, since TypeScript itself will perform this check. --- packages/eslint-config-react-native-community/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/eslint-config-react-native-community/index.js b/packages/eslint-config-react-native-community/index.js index 71480dca05b2b0..001fd4629b1301 100644 --- a/packages/eslint-config-react-native-community/index.js +++ b/packages/eslint-config-react-native-community/index.js @@ -56,6 +56,7 @@ module.exports = { {argsIgnorePattern: '^_'}, ], 'no-unused-vars': 'off', + 'no-undef': 'off', }, }, {