1.2.2 • Published 11 months ago
@anjun-brasil/eslint-config v1.2.2
Anjun Brasil ESLint config
What's included?
- Standard config base;
- React config base;
- Next.js config base;
- Node config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
$ yarn add eslint @anjun-brasil/eslint-config -D
# Or using PNPM
$ pnpm i eslint @anjun-brasil/eslint-config -D
- Create a
.eslintrc.json
file extending the configuration you want to use:
{
"extends": "@anjun-brasil/eslint-config/next"
// "extends": "@anjun-brasil/eslint-config/node"
}