包详细信息

@moxy/eslint-config-react-native

moxystudio194MIT13.1.0

MOXY's ESLint configuration enhancer for React Native apps

eslint-config, eslintconfig, eslint, lint

自述文件

eslint-config-react-native

NPM version Downloads Dependency status Dev Dependency status

MOXY's ESLint configuration enhancer for React Native apps.

Installation

$ npm install --save-dev eslint @moxy/eslint-config-react-native

Usage

Create a .eslintrc.json file in the project root and extend @moxy/eslint-config-react-native.

This package should be used in conjunction with @moxy/eslint-config-base.

Example

{
    "root": true,
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-react-native"
    ]
}

ℹ️ The environment is automatically set to react-native/react-native.