Project developed to provide standardization of the ESLint + Prettier configuration in the React.js and Node.js projects that ZeusTech uses.
- Standard configuration base
- React plugin
- React Hooks plugin
- JSX a11y plugin
- Prettier
npm i -D @zeustech/eslint-config eslint
// Inside .eslintrc.cjs
module.exports = {
extends: [
'@zeustech/eslint-config/react',
]
}
// Inside .eslintrc.json
{
"extends": [
"@zeustech/eslint-config/next",
"next/core-web-vitals"
]
}
// Inside .eslintrc.json
{
"extends": "@zeustech/eslint-config/node"
}