dmd/.pre-commit-config.yaml
Luís Ferreira 3d3d65afcb
chore(pre-commit): update hook versions (#14346)
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2022-08-02 19:39:48 +08:00

25 lines
666 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
exclude: >
(?x)^(
^compiler/test/runnable/extra-files/.*$|
^compiler/test/compilable/extra-files/.*$|
)$
- id: end-of-file-fixer
exclude: >
(?x)^(
^compiler/test/runnable/extra-files/.*$|
^compiler/test/compilable/extra-files/.*$|
)$
- id: check-merge-conflict
- id: check-added-large-files
- id: detect-private-key
- id: no-commit-to-branch
args: [--branch, master]
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.17.1
hooks:
- id: check-github-workflows