summaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/pre-commit3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit
index 4485005..22c5dfe 100755
--- a/git-hooks/pre-commit
+++ b/git-hooks/pre-commit
@@ -8,7 +8,8 @@
npm ci --dry-run
# Make sure Cargo.lock is up to date with Cargo.toml.
cargo update --locked --workspace
-# Make sure there are no screamers in the code.
+# Make sure there are no screamers in the code (both languages).
+npm run lint
cargo check
# Make sure the prepared statement data in .sqlx is up to date. Requires
# `cargo-sqlx` (`cargo install cargo-sqlx`).