Last active
June 28, 2021 16:55
-
-
Save homebysix/9e8ddaf424bd46af71ee973033b4ecfd to your computer and use it in GitHub Desktop.
Pre-commit config for public AutoPkg recipe repository (extended)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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