@sensuapp/eslint-config-react

1.5.0 • Public • Published

@sensuapp/eslint-config-react

This package provides Sensu's React & JSX ESLint settings as an extensible configuration.

version license build

Usage

First, add the package to your project.

yarn add --dev eslint @sensuapp/eslint-config-react

# or with npm

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

If you did not already have an .eslintrc file you can add one.

./node_modules/.bin/eslint --init

Finally, add the following to your .eslintrc.

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

Package Sidebar

Install

npm i @sensuapp/eslint-config-react

Weekly Downloads

3

Version

1.5.0

License

MIT

Unpacked Size

9.48 kB

Total Files

9

Last publish

Collaborators

  • jamesdphillips