eslint-plugin-react-native-globals

0.1.2 • Public • Published

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
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    873,501
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    873,501
  • 0.1.1
    126
  • 0.1.0
    1

Package Sidebar

Install

npm i eslint-plugin-react-native-globals

Weekly Downloads

873,628

Version

0.1.2

License

MIT

Last publish

Collaborators

  • satya164