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 25, 2024
1 parent 11e4358 commit a8d020d
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 a8d020d

Please sign in to comment.