1.0.7 • Published 2 years ago

@amadeulinhares/eslint_config v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

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