1.0.2 • Published 10 months ago
@upenha/eslint-config v1.0.2
Upenha ESLint config
Inspired by Rocketseat ESLint config and SyncLab ESLint config.
Setup
- Install the dependencies as dev
npm i -D eslint @upenha/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@upenha/eslint-config/react"
// or "extends": "@upenha/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.