1.3.0 • Published 8 years ago
eslint-config-sensu-react v1.3.0
eslint-config-sensu-react
This package provides Sensu's React & JSX ESLint settings as an extensible configuration.
Usage
First, add the package to your project.
yarn add --dev eslint eslint-config-sensu-react
# or with npm
npm install --save-dev eslint eslint-config-sensu-reactIf you did not already have an .eslintrc file you can add one.
./node_modules/.bin/eslint --initFinally, add the following to your .eslintrc.
{
"extends": [
"sensu",
"sensu-react"
]
}