Reference @antfu/eslint-config
pnpm add -D eslint @jsonz/eslint-config
{
"extends": [
"@jsonz"
]
}
dist
public
For example:
{
"scripts": {
"lint": "eslint \"**/*.{tsx,ts,js}\""
}
}
Create .vscode/settings.json
{
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}