1.3.0 • Published 1 year ago

@ramos-lucas/eslint-config v1.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Rocketseat ESLint config

Whats included?

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

Setup

React

Install dependencies:

npm i -D eslint @ramos-lucas/eslint-config

Inside .eslintrc.json

{
  "extends": "@ramos-lucas/eslint-config/react"
}

Node.js

Install dependencies:

npm i -D eslint @ramos-lucas/eslint-config

Inside .eslintrc.json

{
  "extends": "@ramos-lucas/eslint-config/node"
}