Simple setup to start a new nodejs typescript library
- Editorconfig
- Prettier
- Esling (airbn and typescript styles)
- CommonJS and ESM outputs
- CI lint tasks
- Jest tests
- Git hooks
To better experience on VSCode, configure on settings.json
"editor.codeActionsOnSave": {
"source.fixAll": true
}
...
"editor.formatOnSave": true,