@urbanonorte/eslint-config
v0.0.1
Published
Eslint configuration made by Urbano Norte
Downloads
6
Readme
urbanonorte Norte 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 @urbanonorte/eslint-config
Inside .eslintrc.json
{
"extends": [
"@urbanonorte/eslint-config/next",
"next/core-web-vitals"
]
}
React (without Next.js)
Install dependencies:
npm i -D eslint @urbanonorte/eslint-config
Inside .eslintrc.json
{
"extends": "@urbanonorte/eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint @urbanonorte/eslint-config
Inside .eslintrc.json
{
"extends": "@urbanonorte/eslint-config/node"
}