@forgedev-br/eslint-config
v2.0.4
Published
ESLint configuration used by ForgeDev Team
Downloads
12
Readme
ESLint configuration used by ForgeDev Team
Whats included?
- Support for Node.js, Next.js and Vue;
- Standard config base;
- JSX a11y plugin;
- Prettier;
- Eslint;
- Simple-sort-import;
Setup
Install dependencies:
pnpm install -D [email protected] @forgedev-br/eslint-config
This package does not work with eslint 9.x.x
Node.js
Inside .eslintrc.json
{
extends: '@forgedev-br/eslint-config/node'
}
Next.js
Inside .eslintrc.js
{
extends: [
'next/core-web-vitals',
'@forgedev-br/eslint-config/next'
]
}
React with Vite
Inside .eslintrc.js
{
extends: '@forgedev-br/eslint-config/react'
}
Vue with Vite
Inside .eslintrc.js
{
extends: '@forgedev-br/eslint-config/vue'
}