1.0.9 • Published 8 months ago
@yanotec/eslint-config-node v1.0.9
Yanotec ESLint config for node apps
Whats included?
- Airbnb config base;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @yanotec/eslint-config-node
- Create a
.eslintrc.json
file extending the config:
for ts project
{
"extends": "@yanotec/eslint-config-node/ts-recommended"
}
or js project
{
"extends": "@yanotec/eslint-config-node/js-recommended"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.