1.0.18 • Published 7 months ago
@psoares/eslint-config v1.0.18
@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