0.0.2 • Published 11 months ago
@sothen.me/eslint-config v0.0.2
Sothen ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @sothen.me/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@sothen.me/eslint-config/react"
}
{
"extends": "@sothen.me/eslint-config/next"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
Credits
This repository was based on the repo @rocketseat/eslint-config-rocketseat
0.0.2
11 months ago