Files
litestream/.pre-commit-config.yaml
Cory LaNou cb521ca751 Fix pre-commit config typo and run goimports
- Fix typo in .pre-commit-config.yaml: "litestrem" -> "litestream"
- Run goimports with correct -local flag to fix import ordering
- All imports are now properly grouped according to Go conventions

This ensures the pre-commit hooks work correctly and CI will pass.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-31 17:08:59 -05:00

21 lines
530 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-beta.5
hooks:
- id: go-imports-repo
args:
- "-local"
- "github.com/benbjohnson/litestream"
- "-w"
- id: go-vet-repo-mod
- id: go-staticcheck-repo-mod