mirror of
https://github.com/vladmandic/sdnext.git
synced 2026-01-27 15:02:48 +03:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# To use: pre-commit run -a
|
|
# Or: pre-commit install # (runs every time you commit in git)
|
|
# To update this file: pre-commit autoupdate
|
|
# See https://github.com/pre-commit/pre-commit
|
|
|
|
ci:
|
|
autoupdate_commit_msg: "chore: update pre-commit hooks"
|
|
autofix_commit_msg: "style: pre-commit fixes"
|
|
|
|
repos:
|
|
# Standard hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-illegal-windows-names
|
|
- id: check-merge-conflict
|
|
- id: detect-private-key
|
|
- id: check-builtin-literals
|
|
- id: check-case-conflict
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: check-json
|
|
- id: check-toml
|
|
- id: check-xml
|
|
- id: debug-statements
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: check-executables-have-shebangs
|
|
exclude: |
|
|
(?x)^(
|
|
.*.bat|
|
|
.*.ps1
|
|
)$
|
|
- id: trailing-whitespace
|
|
exclude: |
|
|
(?x)^(
|
|
.*\.md|
|
|
.github/ISSUE_TEMPLATE/.*\.yml
|
|
)$
|