2023-10-21 20:47:01 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
|
|
rev: 3.12.0
|
|
|
|
hooks:
|
|
|
|
- id: commitizen
|
|
|
|
stages: [commit-msg]
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: v3.0.3
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
name: check markdown/yaml formatting
|
|
|
|
types_or:
|
|
|
|
- markdown
|
|
|
|
- yaml
|
|
|
|
args: [--no-config]
|
|
|
|
exclude: CHANGELOG.md
|
|
|
|
|
|
|
|
- repo: https://github.com/pocc/pre-commit-hooks
|
|
|
|
rev: v1.3.5
|
|
|
|
hooks:
|
|
|
|
- id: clang-format
|
|
|
|
- id: clang-tidy
|
|
|
|
args: [-p=build]
|
2023-10-22 10:35:46 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
|
|
|
rev: v0.6.13
|
|
|
|
hooks:
|
|
|
|
- id: cmake-format
|
|
|
|
- id: cmake-lint
|