Skip to content

Commit

Permalink
docs: spelling (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
butuzov committed Mar 31, 2024
1 parent 879d12e commit 5460db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/checker/violation.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ type GolangIssue struct {
Original string
}

// Issue inteanded to be used only with golangci-lint, bu you can use use it
// Issue intended to be used only within `golangci-lint`, bu you can use use it
// alongside Diagnostic if you wish.
func (v *Violation) Issue(fSet *token.FileSet) GolangIssue {
issue := GolangIssue{
Expand All @@ -175,7 +175,7 @@ func (v *Violation) Issue(fSet *token.FileSet) GolangIssue {
Message: v.Message(),
}

// original expression (useful for debug & requied for replace)
// original expression (useful for debug & required for replace)
var buf bytes.Buffer
printer.Fprint(&buf, fSet, v.callExpr)
issue.Original = buf.String()
Expand Down

0 comments on commit 5460db3

Please sign in to comment.