Enable some linters (#3129)

Mostly those that did not require much work.

From #2960

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
qwerty287
2024-01-09 21:35:37 +01:00
committed by GitHub
parent 631b7c2fed
commit 768fd71841
21 changed files with 121 additions and 63 deletions

View File

@@ -586,9 +586,9 @@ Specify a configuration service endpoint, see [Configuration Extension](./100-ex
### `WOODPECKER_FORGE_TIMEOUT`
> Default: 3sec
> Default: 3s
Specify how many seconds before timeout when fetching the Woodpecker configuration from a Forge
Specify timeout when fetching the Woodpecker configuration from forge. See <https://pkg.go.dev/time#ParseDuration> for syntax reference.
### `WOODPECKER_ENABLE_SWAGGER`