ae67c5ac45
Summary:
The `typescript-eslint` project [recommends that `no-undef` is disabled for TypeScript files](
|
||
---|---|---|
.. | ||
README.md | ||
index.js | ||
package.json | ||
yarn.lock |
README.md
eslint-config-react-native-community
Installation
yarn add --dev eslint prettier @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"
}