perf(cli): replace lint-staged with nano-staged (#10778)

This commit is contained in:
neverland
2022-07-02 22:57:41 +08:00
committed by GitHub
parent 28e8b72ccd
commit 2e27c67c76
9 changed files with 28 additions and 156 deletions
@@ -22,7 +22,7 @@
"test:coverage": "open test/coverage/index.html"
},
"author": "",
"lint-staged": {
"nano-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,vue,less,scss}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix",