1.1.2 • Published 2 years ago
@vinebarbosa/eslint-config v1.1.2
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.jsonfile 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.jsinstead of JSON if you prefer.