@oncoursesystems/eslint-config-react-native

0.1.1 • Public • Published


@oncoursesystems/eslint-config-react-native

OnCourse Systems' React Native ESLint configuration and rules.

NPM version OnCourse Systems ESLint config is released under the MIT license.

Installation

With npm:

npm install eslint @oncoursesystems/eslint-config-react-native --save-dev

Or using yarn:

yarn add eslint @oncoursesystems/eslint-config-react-native -D

Setup

Create an .eslintrc.js file with the following:

{
  "extends": ["@oncoursesystems/eslint-config-react-native"]
}

Usage

Add the following script to your package.json:

{
  "scripts": {
    "lint": "eslint ."
  }
}

and run the linter with:

yarn lint

Package Sidebar

Install

npm i @oncoursesystems/eslint-config-react-native

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • joegeary