Skip to content

Commit 09ab245

Browse files
committed
just: Add sempgrep command
1 parent 8771d4a commit 09ab245

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

justfile

+7
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)