chore: move gofmt from linters to formatters in .golangci.yml
Correctly configure gofmt as a formatter instead of a linter for proper linting behavior.
This commit is contained in:
parent
4f40c7e8d7
commit
586dfeaa8c
@ -10,12 +10,15 @@ linters:
|
||||
- unused
|
||||
- gosimple
|
||||
- misspell
|
||||
- gofmt
|
||||
|
||||
settings:
|
||||
errcheck:
|
||||
check-type-assertions: true
|
||||
check-blank: false
|
||||
|
||||
formatters:
|
||||
enable:
|
||||
- gofmt
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user