33 lines
870 B
YAML
33 lines
870 B
YAML
# yaml-language-server: $schema=https://json.schemastore.org/pre-commit-config.json
|
|
fail_fast: true
|
|
default_install_hook_types: [pre-commit, commit-msg]
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
exclude: LICENSE\.md
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
stages: [pre-commit]
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: conventional-pre-commit
|
|
stages: [commit-msg]
|
|
args: []
|
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
|
rev: v2.6.1
|
|
hooks:
|
|
- id: golangci-lint
|
|
stages: [pre-commit]
|
|
|
|
- repo: https://github.com/trufflesecurity/trufflehog
|
|
rev: v3.90.13
|
|
hooks:
|
|
- id: trufflehog
|
|
stages: [pre-commit]
|