Skip to content

caiotracera/eslint-config

Repository files navigation

Caio Tracera ESLint config

Whats included?

  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Prettier;

Setup

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

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