mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 09:13:18 +03:00
chore: faster lint-staged (#5013)
Co-authored-by: EYHN <13579374+EYHN@users.noreply.github.com>
This commit is contained in:
parent
f06bdd9a39
commit
5e8103adbd
@ -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"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user