3.0.0 • Published 5 months ago

@alexmadeira/eslint-config v3.0.0

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

Alex Madeira ESLint config

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Prettier;

Setup

  1. Install the dependencies
npm i -D eslint @alexmadeira/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@alexmadeira/eslint-config/react"
  // "extends": "@alexmadeira/eslint-config/node"
}

You can also use a .eslintrc.js instead of JSON if you prefer.