All checks were successful
On-Site VTT - Develop / build (push) Successful in 2m50s
Adds git-hooks for pre-commit package and configuration for repository checks and commit messages
22 lines
603 B
YAML
22 lines
603 B
YAML
## See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-json
|
|
- id: check-byte-order-marker
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: detect-private-key
|
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
|
rev: v3.0.0
|
|
hooks:
|
|
- id: conventional-pre-commit
|
|
stages: [commit-msg]
|
|
args: [feat, fix, chore, test]
|