2.0.4 • Published 1 year ago

eslint-config-henrique v2.0.4

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

Henrique's Personal ESLint Config

Setup

  1. Install the dependencies
npm i -D eslint eslint-config-henrique

or for yarn

yarn add -D eslint eslint-config-henrique

or for pnpm

pnpm install -D eslint eslint-config-henrique
  1. Create a .eslintrc.json file extending the config for React: ⚠️ Only use this is you're using React
{
  "extends": "eslint-config-henrique/react"
}
  1. Create a .eslintrc.json file extending the config for NodeJS: ⚠️ Only use this is you're using NodeJS
{
  "extends": "eslint-config-henrique/node"
}

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

This project is forked from Rocketseat ESLint config