Skip to content

Commit 76af5f9

Browse files
rodineijffacebook-github-bot
authored andcommitted
Add ErrorUtils to global variables (#25947)
Summary: ErrorUtils is giving an error by eslint. ('ErrorUtils is not defined'). ## Changelog [General] [Fixed] - Add ErrorUtils to eslint globals Pull Request resolved: #25947 Test Plan: Run eslint on a react native project using ErrorUtils. Eslint verification should pass. Differential Revision: D16666163 Pulled By: cpojer fbshipit-source-id: c20c4e21fe06c6863dcfc167d6d03c6217ae1235
1 parent 28e18e4 commit 76af5f9

File tree

1 file changed

+1
-0
lines changed
  • packages/eslint-config-react-native-community

1 file changed

+1
-0
lines changed

packages/eslint-config-react-native-community/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ module.exports = {
8282
clearTimeout: false,
8383
console: false,
8484
document: false,
85+
ErrorUtils: false,
8586
escape: false,
8687
Event: false,
8788
EventTarget: false,

0 commit comments

Comments
 (0)