ESLint config
Whats included?
- React plugin;
- React Hooks plugin;
- Standard config base;
- Prettier;
- JSX a11y plugin;
- Import plugin;
- @Typescript-eslint plugin;
And amazing eslint rules!
Setup
1. Install the dependencies
npm i -D eslint @minozzzi/eslint-config
or if you use yarn
yarn add -D eslint @minozzzi/eslint-config
or if you use pnpm
pnpm i -D eslint @minozzzi/eslint-config
.eslintrc.json
file extending the config
2. Create a {
"extends": "@minozzzi/eslint-config"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.