mochi/.pre-commit-config.yaml

40 lines
1 KiB
YAML
Raw Permalink Normal View History

2024-06-20 08:59:56 -05:00
---
fail_fast: false
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- args:
- --config-file
- .yamllint.yaml
id: yamllint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: check-added-large-files
args: [--maxkb=2048]
- id: check-merge-conflict
- id: check-executables-have-shebangs
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
exclude: (Makefile)
- repo: https://github.com/zricethezav/gitleaks
2024-07-29 13:13:38 -05:00
rev: v8.18.4
2024-06-20 08:59:56 -05:00
hooks:
- id: gitleaks
- repo: https://github.com/yuvipanda/pre-commit-hook-ensure-sops
rev: v1.1
hooks:
- id: sops-encryption
# Uncomment to exclude all markdown files from encryption
# exclude: *.\.md
files: .*secrets.*