This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/.pre-commit-config.yaml

39 lines
1,015 B
YAML
Raw Normal View History

2024-03-17 15:42:52 -05:00
---
fail_fast: false
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
2024-03-17 15:42:52 -05:00
hooks:
- args:
- --config-file
2024-06-19 18:31:47 -05:00
- .yamllint.yaml
2024-03-17 15:42:52 -05:00
id: yamllint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
2024-03-17 15:42:52 -05:00
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
2024-03-17 15:42:52 -05:00
hooks:
- id: remove-crlf
- id: remove-tabs
exclude: (Makefile)
- repo: https://github.com/zricethezav/gitleaks
rev: v8.18.2
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