@vinebarbosa/eslint-config
v1.1.2
Published
ESLint configuration used by Vinícios Barbosa
Downloads
15
Maintainers
Readme
Vinícios Barbosa ESLint Configuration
ESLint configuration used by Vinícios Barbosa
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
- Import Helpers;
Setup
- Install the dependencies
npm i -D eslint @vinebarbosa/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@vinebarbosa/eslint-config/react" // If you are using React
// extends: ["next/core-web-vitals", "@vinebarbosa/eslint-config/next"] // If you are using NextJS
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.