All Projects → react-native-community → eslint-plugin-react-native-globals

react-native-community / eslint-plugin-react-native-globals

Licence: other
ESLint Environment for React Native

Programming Languages

javascript
184084 projects - #8 most used programming language

eslint-plugin-react-native-globals

ESLint Environment for React Native.

Installation

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:

{
  "plugins": [
    "react-native-globals"
  ],

  "env": {
    "react-native-globals/all": true
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].