Licence
MIT
Version
1.0.9
Deps
9
Size
7 kB
Vulns
0
Weekly
0
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.