29 lines
796 B
YAML
29 lines
796 B
YAML
default_install_hook_types: [commit-msg, pre-commit]
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-yaml
|
|
stages: [commit]
|
|
- id: check-json
|
|
stages: [commit]
|
|
- id: end-of-file-fixer
|
|
stages: [commit]
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
rev: 3.0.1
|
|
hooks:
|
|
- id: commitizen
|
|
stages:
|
|
- commit-msg
|
|
- 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.5.0
|
|
hooks:
|
|
- id: commitlint
|
|
stages: [commit-msg]
|
|
additional_dependencies: ["@commitlint/config-conventional"]
|