@untile/eslint-config-react

2.0.1 • Public • Published



@untile/eslint-config-react

Untile-flavored ESLint config react. Extends `@untile/eslint-config`.

NPM version Untile js-config is released under the MIT license. Follow @untiledigital

Installation

With npm:

npm install eslint @untile/eslint-config-react --save-dev

Or using yarn:

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

Setup

Create an .eslintrc.js file with the following:

extends: ['@untile/eslint-config-react']

Usage

Add the following script to your package.json:

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

and run the linter with:

yarn lint

/@untile/eslint-config-react/

    Package Sidebar

    Install

    npm i @untile/eslint-config-react

    Weekly Downloads

    39

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    14.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • untile