chore: faster lint-staged (#5013)

Co-authored-by: EYHN <13579374+EYHN@users.noreply.github.com>
This commit is contained in:
EYHN 2023-11-21 22:24:24 +08:00 committed by GitHub
parent f06bdd9a39
commit 5e8103adbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,11 +45,11 @@
"lint-staged": {
"*": "prettier --write --ignore-unknown --cache",
"*.{ts,tsx,mjs,js,jsx}": [
"prettier . --ignore-unknown --write",
"prettier --ignore-unknown --write",
"eslint --cache --fix"
],
"*.toml": [
"prettier . --ignore-unknown --write",
"prettier --ignore-unknown --write",
"taplo format"
]
},