Skip to content

Commit 5460db3

Browse files
authored
docs: spelling (#59)
1 parent 879d12e commit 5460db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/checker/violation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ type GolangIssue struct {
166166
Original string
167167
}
168168

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

178-
// original expression (useful for debug & requied for replace)
178+
// original expression (useful for debug & required for replace)
179179
var buf bytes.Buffer
180180
printer.Fprint(&buf, fSet, v.callExpr)
181181
issue.Original = buf.String()

0 commit comments

Comments
 (0)