7a13a1a88f
Summary: Fix eslint complaining about `URLSearchParams` and `Headers` not being defined. Pull Request resolved: https://github.com/facebook/react-native/pull/27853 Differential Revision: D19577641 Pulled By: cpojer fbshipit-source-id: 7019d1519523c7b99a201c6e0b78d0035c9b35a6 |
||
---|---|---|
.. | ||
README.md | ||
index.js | ||
package.json | ||
yarn.lock |
README.md
eslint-config-react-native-community
Installation
yarn add --dev eslint @react-native-community/eslint-config
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
Usage
Add to your eslint config (.eslintrc
, or eslintConfig
field in package.json
):
{
"extends": "@react-native-community"
}