dmd/.pre-commit-config.yaml
Luís Ferreira b2db9ad957
chore(pre-commit): update pre-commit hooks (#14534)
Hook 'sirosen/check-jsonschema' updated from 0.17.1 to 0.18.3.

Signed-off-by: Luís Ferreira <contact@lsferreira.net>

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2022-10-10 06:42:01 +03: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.18.3
hooks:
- id: check-github-workflows