-
Notifications
You must be signed in to change notification settings - Fork 22
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
Integrate GolangCI-Lint #30
Labels
Difficulty/2:Medium
Medium ticket
Good First Issue
Suitable for first-time contributors
Hacktoberfest
Help Wanted
Community help wanted
Tech/Go
Type/Task
A general task
Comments
Hello! Can i work on this? |
hectorgabucio
added a commit
to hectorgabucio/mattermost-plugin-jenkins
that referenced
this issue
Oct 4, 2020
Sure, assigned you to the issue @hectorgabucio 👍 |
hectorgabucio
added a commit
to hectorgabucio/mattermost-plugin-jenkins
that referenced
this issue
Oct 9, 2020
hectorgabucio
added a commit
to hectorgabucio/mattermost-plugin-jenkins
that referenced
this issue
Oct 9, 2020
hectorgabucio
added a commit
to hectorgabucio/mattermost-plugin-jenkins
that referenced
this issue
Oct 9, 2020
hectorgabucio
added a commit
to hectorgabucio/mattermost-plugin-jenkins
that referenced
this issue
Oct 16, 2020
hectorgabucio
added a commit
to hectorgabucio/mattermost-plugin-jenkins
that referenced
this issue
Oct 21, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Difficulty/2:Medium
Medium ticket
Good First Issue
Suitable for first-time contributors
Hacktoberfest
Help Wanted
Community help wanted
Tech/Go
Type/Task
A general task
Mattermost is currently in the process of using
golangci-lint
as the default linter for all go projects. mattermost-community/mattermost-plugin-autolink#108 serves as an example of how the migration should look like:.golangci.yml
from https://github.com/mattermost/mattermost-plugin-autolink/ into this repository.Makefile
from https://github.com/mattermost/mattermost-plugin-autolink/ into this repository.build/
from https://github.com/mattermost/mattermost-plugin-autolink/ into this repository.go mod tidy
andmake dist
to ensure the build system works fine.linters-settings.goimports.local-prefixes
to the go module path i.e. github.com/mattermost/mattermost-plugin-jenkins
.make golangci-lint
and fix all issues that arise.Fixing an linter issue is sometimes trivial but can also be quite complicated. There might be cases, where ignoring an issue using
issues.exclude-rules
is needed. If you don't know how to resolve an error, please reach out to@hanzei
on the Mattermost Community Server or ask the question here.The text was updated successfully, but these errors were encountered: