Files
logviewer/.pre-commit-config.yaml
unkin-agent b07872accd
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Narrow pre-commit exclude to vendored minified assets only
2026-08-23 16:52:13 +10:00

20 lines
473 B
YAML

exclude: ^web/static/(jquery|bootstrap)[^/]*\.min\.(js|css)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
hooks:
- id: go-fmt
- id: go-vet
- id: go-unit-tests