chore: add lint-staged command to pre-commit file (#5126)

This commit is contained in:
LongYinan 2023-11-29 10:11:34 +00:00
parent feddfdc5c9
commit 2a4741e9ab
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
yarn lint:ox
yarn lint-staged && yarn lint:ox && cargo fmt --all && git add .

View File

@ -1,2 +1,2 @@
pub mod hashcash;
pub mod sqlite;
pub mod hashcash;