0.0.2 • Published 4 months ago
wizardcomp-eslint-config v0.0.2
Eclipse Solutions 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 wizardcomp-eslint-config
Inside .eslintrc.json
{
"extends": [
"wizardcomp-eslint-config/next",
"next/core-web-vitals"
]
}
React (without Next.js)
Install dependencies:
npm i -D eslint wizardcomp-eslint-config
Inside .eslintrc.json
{
"extends": "wizardcomp-eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint wizardcomp-eslint-config
Inside .eslintrc.json
{
"extends": "wizardcomp-eslint-config/node"
}