build-cran-binaries/.pre-commit-config.yaml
automation-bot 5f10863a9c
Some checks failed
ci/crow/cron/process-updates/7 Pipeline failed
ci/crow/cron/process-updates/2 Pipeline failed
ci/crow/cron/process-updates/1 Pipeline was successful
ci/crow/cron/process-updates/8 Pipeline was successful
chore(deps): update pre-commit hook davidanson/markdownlint-cli2 to v0.23.0
2026-07-02 00:32:11 +00:00

51 lines
1.5 KiB
YAML

# cSpell:ignore autofix autoupdate
# Excluded: verbatim GPL license and auxiliary shell scripts with intentional
# in-string formatting (reformatting would corrupt their output).
exclude: |
(?x)^(
LICENSE\.md|
benchmark/|
docker/reprex/
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.23.0
hooks:
- id: markdownlint-cli2
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.9.4
hooks:
- id: prettier
- repo: https://github.com/posit-dev/air-pre-commit
rev: 0.10.0
hooks:
- id: air-format
- repo: https://github.com/editorconfig-checker/editorconfig-checker
rev: v3.8.0
hooks:
- id: editorconfig-checker
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.38.0
hooks:
- id: yamllint
args: [--strict, -c=.yamllint.yaml]
- repo: local
hooks:
- id: yaml-file-extension
name: Check if YAML files has *.yaml extension.
entry: YAML filenames must have .yaml extension.
language: fail
files: .yml$
- id: validate-patches
name: validate patch registry
entry: Rscript local/validate-patches.R
language: system
files: ^local/(patches/|validate-patches\.R$)
pass_filenames: false