From f6a62f9ae2278c0f3a1e5c1a6ec3b7cca3421a41 Mon Sep 17 00:00:00 2001 From: Stanislav Date: Mon, 4 Nov 2019 08:12:40 -0800 Subject: [PATCH] Add Intl to eslint globals. (#27082) Summary: Fix `'Intl' is not defined. eslint(no-undef)` warning by eslint: see https://github.com/facebook/react-native/issues/27076 Pull Request resolved: https://github.com/facebook/react-native/pull/27082 Differential Revision: D18298548 Pulled By: cpojer fbshipit-source-id: c07af711086d79d214bfbbe2bba6f396628c96c1 --- 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 0fea44eb7b5525..a782fd6c7656bb 100644 --- a/packages/eslint-config-react-native-community/index.js +++ b/packages/eslint-config-react-native-community/index.js @@ -97,6 +97,7 @@ module.exports = { fetch: false, FormData: false, global: false, + Intl: false, Map: true, module: false, navigator: false,