1.1.4 • Published 5 months ago

@diego-rangel/eslint-config v1.1.4

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

Diego Rangel 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 @diego-rangel/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@diego-rangel/eslint-config/react"
}

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