Closed dominiquelefevre closed 2 weeks ago
I think you should add a better PR title.
I still need a way to fully bypass the Go detection and set a Go version.
Commit titles and messages contain enough information. If you have a specific PR title in mind, feel free to propose it.
Go version chooses the correct set of warnings to enable, so the version detection is a must.
Commit titles and messages contain enough information. If you have a specific PR title in mind, feel free to propose it.
I suggest: "fix: performance regression" And add "Fix #995" inside the PR description.
Go version chooses the correct set of warnings to enable, so the version detection is a must.
The Go detection is done inside golangci-lint, golangci-lint doesn't work as revive, so a way to set the Go version is a requirement for us.
The Go detection is done inside golangci-lint, golangci-lint doesn't work as revive, so a way to set the Go version is a requirement for us.
I am not familiar with the way golangci-lint integrates revive and how you intend to use it. Please send patches to add hooks that you need.
I am not familiar with the way golangci-lint integrates revive and how you intend to use it.
We need to specify the Go version through this function:
func (l *Linter) Lint(packages [][]string, ruleSet []Rule, config Config) (<-chan Failure, error) {
Added an option to override the language version detection to struct Config
. @ldez, it should fit your description.
Ping @denisvmedia, @chavacava, @ldez.
Hey, is this repo alive? Can somebody review the PR? @denisvmedia , @chavacava , @ldez ?
Hi @dominiquelefevre, thanks for the PR. I'm abroad with restricted internet and PC access. I'll check the PR as soon as I'm back home (next weekend)
Closes #995