solverforge-fsr / .pre-commit-config.yaml
blackopsrepl's picture
chore: add pre-commit quality gates
576f373
raw
history blame contribute delete
527 Bytes
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-added-large-files
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.0
hooks:
- id: gitleaks
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
args: ["--", "--check"]
- id: clippy
args: ["--", "-D", "warnings"]