chore(package.json): add lint script

This commit is contained in:
kunish 2023-09-14 17:01:54 +08:00
parent 51f99b94ef
commit d7932a8f28
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430
3 changed files with 3 additions and 0 deletions

1
.eslintignore Normal file
View File

@ -0,0 +1 @@
dist

View File

@ -1,2 +1,3 @@
dist
CHANGELOG.md CHANGELOG.md
pnpm-lock.yaml pnpm-lock.yaml

View File

@ -8,6 +8,7 @@
"build": "vite build", "build": "vite build",
"dev": "vite", "dev": "vite",
"format": "prettier -w .", "format": "prettier -w .",
"lint": "eslint --fix .",
"prepare": "husky install", "prepare": "husky install",
"serve": "vite preview" "serve": "vite preview"
}, },