@oncoursesystems/eslint-config-react

0.1.1 • Public • Published


@oncoursesystems/eslint-config-react

OnCourse Systems' React 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 --save-dev

Or using yarn:

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

Setup

Create an .eslintrc.js file with the following:

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

Usage

Add the following script to your package.json:

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

and run the linter with:

yarn lint

/@oncoursesystems/eslint-config-react/

    Package Sidebar

    Install

    npm i @oncoursesystems/eslint-config-react

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    3.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • joegeary