chore: go mod tidy + add standalone linter step to lefthook

This commit is contained in:
Gabe Kangas
2025-12-24 14:28:32 -08:00
parent e12ea37f7e
commit 2b343e9f81
3 changed files with 56 additions and 142 deletions
+8 -2
View File
@@ -44,8 +44,7 @@ pre-commit:
stage_fixed: true
golangci-lint:
glob: '*.go'
run: go tool golangci-lint run {staged_files}
stage_fixed: true
run: go tool golangci-lint run ./...
go-test:
glob: '*.go'
run: go test ./... > /dev/null
@@ -63,6 +62,13 @@ test:
go:
run: go test ./... > /dev/null
lint:
parallel: true
commands:
golangci-lint:
glob: '*.go'
run: go tool golangci-lint run ./...
# Validate commit messages per https://www.conventionalcommits.org/en/v1.0.0/
# Install commitlint into your global npm path if you want to use it.
# npm install -g @commitlint/{config-conventional,cli}