Skip to content

Latest commit

 

History

History

eslint-config-react-native

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.