Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pre-commit config for public AutoPkg recipe repository (extended)
repos:
- repo: https://github.com/homebysix/pre-commit-macadmin
rev: v1.10.1
hooks:
- id: check-autopkg-recipes
args: [
"--recipe-prefix=com.github.yourusername.",
"--strict",
"--",
]
- id: forbid-autopkg-overrides
- id: forbid-autopkg-trust-info
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: no-commit-to-branch
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment