@pedrohenry-santos/eslint-config
v1.5.7
Published
ESLint configuration used by Pedro.
Downloads
8
Readme
Pedro 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 @pedrohenry-santos/eslint-config
Inside .eslintrc.json
{
"extends": [
"@pedrohenry-santos/eslint-config/next",
"next/core-web-vitals"
]
}
React (without Next.js)
Install dependencies:
npm i -D eslint @pedrohenry-santos/eslint-config
Inside .eslintrc.json
{
"extends": "@pedrohenry-santos/eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint @pedrohenry-santos/eslint-config
Inside .eslintrc.json
{
"extends": "@pedrohenry-santos/eslint-config/node"
}