eslint-config-precure
v5.4.0
Published
ESLint shareable config for precure
Downloads
2,459
Maintainers
Readme
eslint-config-precure
ESLint shareable config for me
Features
- prettier
- React
- TypeScript
- flowtype (maintenance mode)
Install
$ yarn add --dev eslint eslint-config-precure
$ npm install --save-dev eslint eslint-config-precure
Usage
.eslintrc
{
"extends": "precure"
}
TypeScript
{
"extends": ["precure", "precure/typescript"]
}
Jest
{
"extends": ["precure", "precure/jest"]
}
Auto Config
if you use typescript
, enable typescript-eslint
if you use jest
, enable eslint-plugin-jest
if you use react
, enable eslint-plugin-react
if you use flow-bin
, enable eslint-plugin-flowtype
{
"extends": "precure/auto"
}
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco