-
Notifications
You must be signed in to change notification settings - Fork 21
chore/linter #467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore/linter #467
Conversation
|
side note, I felt bad about breaking the build/release previously but apparently half of the recent https://github.com/golangci/golangci-lint/releases are broken/didn't have correct assets published so I'm in good company 😅 |
|
well, that took... quite a bit longer than ideal but we have a 🟢 build notes:
|
|
This is great! I was trying to follow the CONTRIBUTING.md guidelines but the |
| @which golangci-lint > /dev/null || (echo "Required golangci-lint not found. Installing it..." && GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest) | ||
| @which staticcheck > /dev/null || (echo "Required staticcheck not found. Installing it..." && GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck) | ||
| @which golangci-lint > /dev/null || (echo "Required golangci-lint not found. Installing it..." && go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest) | ||
| @which staticcheck > /dev/null || (echo "Required staticcheck not found. Installing it..." && go install honnef.co/go/tools/cmd/staticcheck@latest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might want to lock this but keeping the local version on latest does make it a bit more likely that we'll keep up with upstream changes
fixes for linter env and lint errors --------- Co-authored-by: Arkadiy Kukarkin <arkadiy@archive.org>
fixes for linter env and lint errors --------- Co-authored-by: Arkadiy Kukarkin <arkadiy@archive.org>
fixes for linter env and lint errors