mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-09-11 19:47:35 +03:00
chore: move cargo fmt to lint-staged from pre-commit (#5150)
This commit is contained in:
parent
91f3149148
commit
33c53217c3
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
yarn lint-staged && yarn lint:ox && cargo fmt --all && git add .
|
||||
yarn lint-staged && yarn lint:ox
|
||||
|
@ -50,6 +50,9 @@
|
||||
],
|
||||
"*.toml": [
|
||||
"taplo format"
|
||||
],
|
||||
"*.rs": [
|
||||
"cargo fmt --"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user