pnpm add -D eslint @litarussell/eslint-config-basic
{
"extends": [
"@litarussell/eslint-config"
]
}
You don't need
.eslintignore
normally as it has been provided by the preset.
For example:
{
"scripts": {
"lint": "eslint ."
}
}
Create .vscode/settings.json
{
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
MIT