mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
chore: add lint-staged command to pre-commit file (#5126)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
. "$(dirname -- "$0")/_/husky.sh"
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
yarn lint:ox
|
yarn lint-staged && yarn lint:ox && cargo fmt --all && git add .
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
|
pub mod hashcash;
|
||||||
pub mod sqlite;
|
pub mod sqlite;
|
||||||
pub mod hashcash;
|
|
||||||
Reference in New Issue
Block a user