Elio-Muculo / eslint-config-rocketseat

ESLint configuration used by Rocketseat

Home Page:https://www.npmjs.com/@rocketseat/eslint-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"
  // "extends": "@rocketseat/eslint-config/node"
}

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

About

ESLint configuration used by Rocketseat

https://www.npmjs.com/@rocketseat/eslint-config


Languages

Language:JavaScript 100.0%