-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix inter issues in master
branch
#769
Labels
Comments
This tool might be helpful for some of the drudge work: https://github.com/cuonglm/gocmt |
This was referenced Nov 21, 2023
5 tasks
This was referenced Nov 30, 2023
This was referenced Nov 30, 2023
This was referenced Nov 30, 2023
5 tasks
This was referenced Jan 24, 2024
Merged
mstoykov
added a commit
that referenced
this issue
Mar 11, 2024
Some leftover lint fixes and just move to crypto/rand for the idempotency token. Part of #769
5 tasks
mstoykov
added a commit
that referenced
this issue
Apr 4, 2024
Some leftover lint fixes and just move to crypto/rand for the idempotency token. Part of #769
5 tasks
mstoykov
added a commit
that referenced
this issue
Apr 25, 2024
As now all lint issues are fixed we can enable without that option. Unfortunately the option only looks at code at and around the places that was changed and if any of it has new lint errors it will trigger. That does mean that if you update golangci-lint - it won't showcase new lint errors it triggers. Also won't work if you add a bunch of code to the end an already somewhat long function. As the lint error will be at the beginning of the function. Closes #769
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What?
We should fix the linter issues that exist in our master branch.
Tasks
netext
,netext/httpext
packages #3484api/v1
package #3463Right now we use the
golangci-lint
as the main tool for linting. The latest report:Why?
Most of those are about undocumented methods or using underscores or ALL_CAPS in variables, but it's still worth it to spend some time and eliminate, or at least substantially reduce, the number of linter complaints.
Fixing linter issues would significantly help any potential contributors because:
golint/golangci-lint
automatically enabled, and when you open some files with them, there are dozens of issues reportedThe text was updated successfully, but these errors were encountered: