Skip to content

Commit

Permalink
just: Add sempgrep command
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed Jan 26, 2024
1 parent 8771d4a commit 09ab245
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 09ab245

Please sign in to comment.