mirror of
https://github.com/zoriya/zmk.git
synced 2025-12-05 22:46:12 +00:00
* Add VERSION file that Zephyr will pick up * Add release-please automation * Updated docs on commits messages, and PR process * Updated PR template to match. --- Release-As: 0.1.0 Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
fail_fast: false
|
|
repos:
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.1
|
|
hooks:
|
|
- id: remove-tabs
|
|
exclude: "vendor-prefixes\\.txt$|.git/COMMIT_EDITMSG"
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
rev: v18.1.8
|
|
hooks:
|
|
- id: clang-format
|
|
types_or: [c++, c]
|
|
args:
|
|
- -i
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v2.7.1
|
|
hooks:
|
|
- id: prettier
|
|
exclude: |
|
|
(?x)^(
|
|
.git/COMMIT_EDITMSG|
|
|
CHANGELOG.md|
|
|
.release-please-manifest.json
|
|
)$
|
|
# Workaround for https://github.com/pre-commit/mirrors-prettier/issues/29
|
|
additional_dependencies:
|
|
- prettier@2.8.7
|
|
- repo: https://github.com/jorisroovers/gitlint
|
|
rev: v0.19.1
|
|
hooks:
|
|
- id: gitlint
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-shebang-scripts-are-executable
|
|
exclude: "\\.mustache$"
|