Skip to content

Commit

Permalink
Merge pull request #129 from vipyrsec/precommit
Browse files Browse the repository at this point in the history
Add pre-commit
  • Loading branch information
Robin5605 authored Jul 19, 2024
2 parents 91ad82d + 0beb9a6 commit 30341f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: cargo-check
- id: clippy
args: ["--", "-D", "clippy:all", "-D", "clippy::pedantic", "-D", "clippy::cargo", "-A", "clippy::cargo_common_metadata", "-A", "clippy::multiple_crate_versions"]

0 comments on commit 30341f6

Please sign in to comment.