chore: move gofmt from linters to formatters in .golangci.yml
Some checks failed
CI / Test (push) Successful in 33s
CI / Lint (push) Failing after 16s
CI / Build (push) Successful in 21s

Correctly configure gofmt as a formatter instead of a linter for proper linting behavior.
This commit is contained in:
Greg Gauthier 2026-03-02 21:21:21 +00:00
parent 4f40c7e8d7
commit 586dfeaa8c

View File

@ -10,12 +10,15 @@ linters:
- unused - unused
- gosimple - gosimple
- misspell - misspell
- gofmt
settings: settings:
errcheck: errcheck:
check-type-assertions: true check-type-assertions: true
check-blank: false check-blank: false
formatters:
enable:
- gofmt
run: run:
timeout: 5m timeout: 5m