Skip to content

Commit 90cc3ac

Browse files
committed
update docs
1 parent 2e96f42 commit 90cc3ac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ If it is not already the case you must also configure `ESLint` to support JSX.
5252
}
5353
```
5454

55+
In order to whitelist all *browser-like* globals, add `react-native/react-native` to your config.
56+
57+
```json
58+
{
59+
"env": {
60+
"react-native/react-native": true
61+
}
62+
}
63+
```
64+
5565
Finally, enable all of the rules that you would like to use.
5666

5767
```json

0 commit comments

Comments
 (0)