0.0.2 • Published 1 year ago
@minozzzi/eslint-config v0.0.2
ESLint config
Whats included?
- React plugin;
- React Hooks plugin;
- Prettier;
- JSX a11y plugin;
- Import plugin;
- @Typescript-eslint plugin;
- And more!!
And amazing eslint rules
Setup
1. Install the dependencies
npm i -D eslint @minozzzi/eslint-configor if you use yarn
yarn add -D eslint @minozzzi/eslint-configor if you use pnpm
pnpm i -D eslint @minozzzi/eslint-config2. Create a .eslintrc.json file extending the config
{
"extends": "@minozzzi/eslint-config/node"
}OR
{
"extends": "@minozzzi/eslint-config/react"
}OR
{
"extends": "@minozzzi/eslint-config/next"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.