zero2prod_axum/.pre-commit-config.yaml
2024-01-01 14:36:02 +01:00

25 lines
616 B
YAML

repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.13.0
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- push
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.0.0a4
hooks:
- id: sqlfluff-lint
args: [--dialect, "postgres"]
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: cargo-check
- id: clippy
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.10.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]