Skip to content
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

golint, check capitalized error strings #454

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Conversation

kuritka
Copy link
Collaborator

@kuritka kuritka commented Apr 22, 2021

To check capitalized error strings I'm adding golint min-confidence=0
https://github.com/golang/go/wiki/CodeReviewComments#error-strings

As you can see, min-confidence=0 didn't found any issues on our master branch 💯 .

Golint makes suggestions for many of the mechanically checkable items listed in
Effective Go and the CodeReviewComments wiki page.

Signed-off-by: kuritka [email protected]

To check capitalized error strings I'm adding golint min-confidence=0
https://github.com/golang/go/wiki/CodeReviewComments#error-strings

As you can see, min-confidence=0 didn't found any issues on our master branch.

*Golint makes suggestions for many of the mechanically checkable items listed in
[Effective Go](https://golang.org/doc/effective_go) and the [CodeReviewComments](https://github.com/golang/go/wiki/CodeReviewComments) wiki page.*

Signed-off-by: kuritka <[email protected]>
@kuritka kuritka changed the title golint min-confidence golint, check capitalized error strings Apr 22, 2021
Copy link
Contributor

@somaritane somaritane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kuritka, happy with results :) , lgtm!

@kuritka kuritka merged commit 90a8a88 into master Apr 22, 2021
@kuritka kuritka deleted the golint-min-confidence branch April 22, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants