Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
fix: lint-staged rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Jun 25, 2023
1 parent 732ce3b commit 9ca73ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
"*.{js,ts,tsx,vue,md}": [
"eslint --cache --fix"
]
}
}

0 comments on commit 9ca73ef

Please sign in to comment.