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
|
- 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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user