1.0.9 • Published 2 years 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.jsonfile 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.jsinstead of JSON if you prefer.