Closed stefan-ctrl closed 1 year ago
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Hello,
the 2 elements are the same option: --timeout
is run.timeout
.
CLI and YAML config about timeout have the exact same behavior with or without seconds.
2m
is valid and works2m0s
is valid and worksIt's just the result of time.ParseDuration()
https://go.dev/play/p/e7yNAsQpFAY
Welcome
Description of the problem
As written in the rendered guide, the timeout config has two types of configurations.
Version 1 CMD: https://golangci-lint.run/usage/configuration/#command-line-options
Version 2 yaml: Timeout has two types of configurations
The 2.Version doesn't seem to work as expected. Timeout is not passed if written as minutes without seconds
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository