@comparaonline/eslint-config-react

1.1.0 • Public • Published

eslint-config-react

The ComparaOnline linter shareable configuration for React apps.

Installation

First, you need eslint, if it isn't installed yet...

$ yarn add --dev eslint

Then,

$ yarn add --dev @comparaonline/eslint-config-react

Usage

Add this package into the extends section of your .eslintrc.js file.

{
  extends: '@comparaonline/eslint-config-react'
}

Now you can execute eslint in a npm script, as example:

"scripts": {
  "lint:js": "eslint 'app/**/*.js'"
}

/@comparaonline/eslint-config-react/

    Package Sidebar

    Install

    npm i @comparaonline/eslint-config-react

    Weekly Downloads

    6

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • suarezcumare
    • comparaonline-dev
    • comparaonlineprivate
    • gnavarro
    • matotias
    • smurua
    • eseceve
    • pablocompara
    • pfariaz
    • ricardo.sosa
    • dsuarez_compa
    • emartinicompara