@aylaweb/eslint-config-typescript
reference with antfu/eslint-config but more suitable for the current project.
Usage
Install
npx add -D eslint @aylaweb/eslint-config-typescript
.eslintrc
Config {
"extends": "@aylaweb/eslint-config-typescript"
}
add .prettierrc in root
{
"singleQuote": true,
"trailingComma": "none",
"semi": false,
"arrowParens": "avoid"
}
Config VS Code auto fix
Create .vscode/settings.json
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
additional packages
- rimraf
- nr
- bumpp