1
0
mirror of synced 2024-11-09 14:38:55 +01:00
modern-cmake/.pre-commit-config.yaml

34 lines
898 B
YAML
Raw Normal View History

2020-08-04 00:16:43 +02:00
repos:
2022-06-02 20:13:06 +02:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
2022-06-02 20:13:06 +02:00
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: \.cmake$
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
2020-08-04 00:16:43 +02:00
2022-06-02 20:13:06 +02:00
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: [pyyaml]
- repo: https://github.com/codespell-project/codespell
2023-07-19 17:25:52 +02:00
rev: "v2.2.5"
2022-06-02 20:13:06 +02:00
hooks:
- id: codespell
args: ["-L", "ba"]
- repo: https://github.com/pre-commit/mirrors-prettier
2023-07-19 17:25:52 +02:00
rev: "v3.0.0"
2022-06-02 20:13:06 +02:00
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]