-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Sample Pull Request #24
Conversation
@@ -36,6 +40,8 @@ type CheckResult struct { | |||
Lines []string // Original error lines (often one line) | |||
} | |||
|
|||
var vetError = fmt.Sprintf("", 1, 2, 3) // TODO: revert |
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.
[govet] reported by reviewdog 🐶
no formatting directive in Sprintf call
@@ -21,11 +21,15 @@ type Reviewdog struct { | |||
d DiffService | |||
} | |||
|
|||
var ExportedVarWithoutComment = 1 // TODO: revert |
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.
[golint] reported by reviewdog 🐶
exported var ExportedVarWithoutComment should have comment or be unexported
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.
Nice catch! 🐕
@@ -36,6 +40,8 @@ type CheckResult struct { | |||
Lines []string // Original error lines (often one line) | |||
} | |||
|
|||
var vetError = fmt.Sprintf("", 1, 2, 3) // TODO: revert |
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.
reported by reviewdog 🐶
var vetError is unused
// NewReviewdog returns a new Reviewdog. | ||
func NewReviewdog(toolname string, p Parser, c CommentService, d DiffService) *Reviewdog { | ||
return &Reviewdog{p: p, c: c, d: d, toolname: toolname} | ||
} | ||
|
||
var unusedVar = 2 // TODO: revert |
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.
reported by reviewdog 🐶
var unusedVar is unused
No description provided.