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 ```json
{ {
"extends": [ "extends": "@antfu"
"@antfu"
]
} }
``` ```
### Config `.eslintignore`
```txt
dist
public
```
### Add script for package.json ### Add script for package.json
For example: For example:
@ -34,7 +25,7 @@ For example:
```json ```json
{ {
"scripts": { "scripts": {
"lint": "eslint \"**/*.{vue,ts,js}\"" "lint": "eslint ."
} }
} }
``` ```