1.2.2 • Published 11 months ago

@anjun-brasil/eslint-config v1.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

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

  1. Install the dependencies
$ yarn add eslint @anjun-brasil/eslint-config -D

# Or using PNPM
$ pnpm i eslint @anjun-brasil/eslint-config -D
  1. Create a .eslintrc.json file extending the configuration you want to use:
{
  "extends": "@anjun-brasil/eslint-config/next"
  // "extends": "@anjun-brasil/eslint-config/node"
}