From a8d020d70bccd2ee9928ca92fe3043673f90f5a7 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 24 Oct 2023 13:57:16 +1100 Subject: [PATCH] just: Add sempgrep command --- justfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/justfile b/justfile index 2e556e906..f1874d2fb 100644 --- a/justfile +++ b/justfile @@ -30,3 +30,10 @@ clippy: # run `cargo clippy --fix` on everything clippy-fix: cargo clippy --locked --offline --workspace --all-targets --fix + + +# run `semgrep` +semgrep: + env SEMGREP_ENABLE_VERSION_CHECK=0 \ + semgrep --error --no-rewrite-rule-ids --config contrib/semgrep.yml +