chore: update readme

This commit is contained in:
Anthony Fu 2022-03-10 20:22:02 +08:00
parent 9346e47d92
commit b425b251ea

View File

@ -14,19 +14,10 @@ pnpm add -D eslint @antfu/eslint-config
```json
{
"extends": [
"@antfu"
]
"extends": "@antfu"
}
```
### Config `.eslintignore`
```txt
dist
public
```
### Add script for package.json
For example:
@ -34,7 +25,7 @@ For example:
```json
{
"scripts": {
"lint": "eslint \"**/*.{vue,ts,js}\""
"lint": "eslint ."
}
}
```