1.0.1 • Published 7 years ago
eslint-config-reactivestack v1.0.1
ESLint rules proposed by Reactive Stack
Usage
npm i --save-dev eslint babel-eslint eslint-plugin-flowtype eslint-plugin-react eslint-config-reactivestack
- Create the
.eslintrc
file at the root of your project:
{
"extends": "reactivestack"
}
- Add the lint script to your project:
{
"scripts": {
"lint": "eslint --ext .js,.jsx ."
}
}
- Run
npm run lint