20 строки
390 B
Markdown
20 строки
390 B
Markdown
# 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`):
|
|
|
|
```json
|
|
{
|
|
"extends": "@react-native-community"
|
|
}
|
|
```
|