eslint-plugin-react-native-globals

ESLint Environment for React Native

MIT 3 个版本
安装
npm install eslint-plugin-react-native-globals
yarn add eslint-plugin-react-native-globals
pnpm add eslint-plugin-react-native-globals
bun add eslint-plugin-react-native-globals
README

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
  }
}
版本列表
0.1.2 2018-01-28
0.1.1 2017-12-25
0.1.0 2017-11-03