Skip to content

Commit 8763df9

Browse files
committed
just: Add sempgrep command
1 parent 2a2d2e4 commit 8763df9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

justfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ clippy:
3030
# run `cargo clippy --fix` on everything
3131
clippy-fix:
3232
cargo clippy --locked --offline --workspace --all-targets --fix
33+
34+
35+
# run `semgrep`
36+
semgrep:
37+
env SEMGREP_ENABLE_VERSION_CHECK=0 \
38+
semgrep --error --no-rewrite-rule-ids --config contrib/semgrep.yml
39+

0 commit comments

Comments
 (0)