3.0.0 • Published 8 months ago
@pixelmonbrasil/eslint-config v3.0.0
PixelmonBrasil ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
React (with Next.js)
Install dependencies:
npm i -D eslint @pixelmonbrasil/eslint-config
Inside .eslintrc.json
{
"extends": [
"@pixelmonbrasil/eslint-config/next",
"next/core-web-vitals"
]
}
React (without Next.js)
Install dependencies:
npm i -D eslint @pixelmonbrasil/eslint-config
Inside .eslintrc.json
{
"extends": "@pixelmonbrasil/eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint @pixelmonbrasil/eslint-config
Inside .eslintrc.json
{
"extends": "@pixelmonbrasil/eslint-config/node"
}