allianceauth/.pre-commit-config.yaml
2021-05-17 09:49:58 +02:00

21 lines
555 B
YAML

# Apply to all files without committing:
# pre-commit run --all-files
# Update this file:
# pre-commit autoupdate
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-case-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: fix-byte-order-marker
- id: trailing-whitespace
exclude: \.(min\.css|min\.js|po|mo)$
- id: end-of-file-fixer
exclude: \.(min\.css|min\.js|po|mo)$
- id: mixed-line-ending
args: [ '--fix=lf' ]