2.0.4 • Published 2 years ago
eslint-config-henrique v2.0.4
Henrique's Personal ESLint Config
Setup
- Install the dependencies
npm i -D eslint eslint-config-henriqueor for yarn
yarn add -D eslint eslint-config-henriqueor for pnpm
pnpm install -D eslint eslint-config-henrique- Create a
.eslintrc.jsonfile extending the config for React: ⚠️ Only use this is you're using React
{
"extends": "eslint-config-henrique/react"
}- Create a
.eslintrc.jsonfile extending the config for NodeJS: ⚠️ Only use this is you're using NodeJS
{
"extends": "eslint-config-henrique/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.This project is forked from Rocketseat ESLint config