Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/react-native-community/eslint-plugin-react-native-globals
ESLint Environment for React Native
https://github.com/react-native-community/eslint-plugin-react-native-globals
Last synced: 2 months ago
JSON representation
ESLint Environment for React Native
- Host: GitHub
- URL: https://github.com/react-native-community/eslint-plugin-react-native-globals
- Owner: react-native-community
- Created: 2017-11-03T14:17:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T20:40:48.000Z (over 6 years ago)
- Last Synced: 2024-10-13T15:14:27.887Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 39
- Watchers: 5
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - eslint-plugin-react-native-globals - native-community | 37 | (JavaScript)
README
eslint-plugin-react-native-globals
==================================ESLint Environment for React Native.
## Installation
```sh
yarn add --dev eslint eslint-plugin-react-native-globals
```**Note:** If you installed ESLint globally then you must also install `eslint-plugin-react-native-globals` globally.
## Usage
Add `react-native-globals` to the `plugins` section of your `.eslintrc` configuration file, and then add `react-native-globals/all` to the `env` section:
```json
{
"plugins": [
"react-native-globals"
],"env": {
"react-native-globals/all": true
}
}
```