@zeustech/eslint-config
v1.1.0
Published
Project developed to provide standardization of ESLint configuration in React.js and Node.js projects used by ZeusTechBR
Downloads
12
Maintainers
Readme
ZeusTech ⚡ ESLint Configuration ⚙️
Description
Project developed to provide standardization of the ESLint + Prettier configuration in the React.js and Node.js projects that ZeusTech uses.
What's included? 🤔
- Standard configuration base
- React plugin
- React Hooks plugin
- JSX a11y plugin
- Prettier
Installation
npm i -D @zeustech/eslint-config eslint
React.js
// Inside .eslintrc.cjs
module.exports = {
extends: [
'@zeustech/eslint-config/react',
]
}
React.js + Next.js
// Inside .eslintrc.json
{
"extends": [
"@zeustech/eslint-config/next",
"next/core-web-vitals"
]
}
Node.js
// Inside .eslintrc.json
{
"extends": "@zeustech/eslint-config/node"
}