@psoares/eslint-config
v1.0.18
Published
## Covers - Common - React - Node - Typescript
Downloads
21
Readme
@psoares/eslint-config
Covers
- Common
- React
- Node
- Typescript
Installation
add "@psoares/eslint-config": "psoaresbj/eslint-config"
to your package.json
Usage
Create an .eslintrc.yml
file with the following:
# For common configuration
extends: @psoares/eslint-config
or
# For specific configuration
extends: @psoares/eslint-config/[react || node || typescript]
or
Add the following script
to your package.json
:
{
"scripts": {
"lint": "eslint . --fix"
}
}
and run the linter with:
$ yarn lint