This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
CppPatterns/.pre-commit-config.yaml

30 lines
685 B
YAML

repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.15.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
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
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
- id: cmake-lint