Replace goimports with gci (#3202)

`gci` seems to be much more strict.
This commit is contained in:
qwerty287
2024-01-14 18:22:06 +01:00
committed by GitHub
parent 1b67c25fd1
commit b9f6f3f9fb
43 changed files with 60 additions and 55 deletions

View File

@@ -103,6 +103,7 @@ linters-settings:
- pkg: 'go.woodpecker-ci.org/woodpecker/v2/cmd/cli'
- pkg: 'go.woodpecker-ci.org/woodpecker/v2/woodpecker-go/woodpecker'
gci:
custom-order: true
sections:
- standard
- default
@@ -127,7 +128,6 @@ linters:
- bidichk
- errcheck
- gofmt
- goimports
- gosimple
- govet
- ineffassign
@@ -165,6 +165,7 @@ linters:
- stylecheck
- contextcheck
- forcetypeassert
- gci
run:
timeout: 15m