feat: formatting with golangci-lint and gci

This commit is contained in:
Pete Davison
2025-04-27 20:38:13 +00:00
parent 20c1ffe098
commit 13daa6dc35
7 changed files with 42 additions and 15 deletions

View File

@@ -98,6 +98,15 @@ tasks:
cmds:
- golangci-lint run --fix
format:
desc: Runs golangci-lint and formats any Go files
aliases: [fmt, f]
sources:
- './**/*.go'
- .golangci.yml
cmds:
- golangci-lint fmt
sleepit:build:
desc: Builds the sleepit test helper
sources: