Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

CI: integrate golangci-lint #37

Merged
merged 5 commits into from Aug 13, 2020
Merged

CI: integrate golangci-lint #37

merged 5 commits into from Aug 13, 2020

Conversation

edigaryev
Copy link
Contributor

@edigaryev edigaryev commented Aug 13, 2020

Minimal configuration with errcheck disabled for now.

"should omit nil check; len() for nil slices is defined as zero"
"unnecessary use of fmt.Sprintf"
"printf-style function with dynamic format string and no further arguments should use print-style function instead"
"call of InitializeLogStreamClient copies lock value: github.com/cirruslabs/cirrus-ci-agent/api.TaskIdentification contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex"
@edigaryev edigaryev marked this pull request as ready for review August 13, 2020 13:50
@edigaryev edigaryev merged commit 6d53fe7 into master Aug 13, 2020
@fkorotkov fkorotkov deleted the golangci-lint branch August 13, 2020 14:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants