0.0.1 • Published 1 year ago
paulospiguel-eslint-config v0.0.1
Rocketseat ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @paulospiguel/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@paulospiguel/eslint-config/react"
// "extends": "@paulospiguel/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
0.0.1
1 year ago