zero2prod_axum/.pre-commit-config.yaml

26 lines
616 B
YAML
Raw Normal View History

2023-12-28 22:04:32 +01:00
repos:
2023-12-28 22:38:29 +01:00
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.13.0
hooks:
2023-12-28 22:04:32 +01:00
- id: commitizen
- id: commitizen-branch
stages:
- push
2023-12-28 22:38:29 +01:00
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.0.0a4
hooks:
- id: sqlfluff-lint
args: [--dialect, "postgres"]
2024-01-01 14:34:42 +01:00
- 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"]