1.0.0 • Published 3 years ago
@kayooliveira/test-config v1.0.0
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 @rocketseat/eslint-config- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@rocketseat/eslint-config/react"
// "extends": "@rocketseat/eslint-config/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.
1.0.0
3 years ago