@matheralvs/eslint-config
v1.0.0
Published
ESLint configuration used by Matheus Alves.
Downloads
15
Readme
Matheus Alves 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 @matheralvs/eslint-configInside .eslintrc.json (or .eslintrc.js)
{
"extends": [
"@matheralvs/eslint-config/next",
"next/core-web-vitals"
]
}React (without Next.js)
Install dependencies:
npm i -D eslint @matheralvs/eslint-configInside .eslintrc.json (or .eslintrc.js)
{
"extends": "@matheralvs/eslint-config/react"
}Node.js
Install dependencies:
npm i -D eslint @matheralvs/eslint-configInside .eslintrc.json (or .eslintrc.js)
{
"extends": "@matheralvs/eslint-config/node"
}