@ch-faustino/eslint-config
v1.0.1
Published
ESLint configuration.
Downloads
18
Readme
ESLint Config
ESLint configuration for React and Node.js projects.
Setup
React
Install dependencies:
npm i -D eslint @ch-faustino/eslint-config
Create eslint file:
touch .eslintrc.json
Add to .eslintrc.json
:
{
"extends": "@ch-faustino/eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint @ch-faustino/eslint-config
Create eslint file:
touch .eslintrc.json
Add to .eslintrc.json
:
{
"extends": "@ch-faustino/eslint-config/node"
}