From f4fe3d431b9aca9ead73cd38c127eb9e2c3a443a Mon Sep 17 00:00:00 2001 From: Oleg Butuzov Date: Sun, 31 Mar 2024 16:15:18 +0300 Subject: [PATCH] docs: spelling --- internal/checker/violation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/checker/violation.go b/internal/checker/violation.go index ce962ae..3d8acf1 100644 --- a/internal/checker/violation.go +++ b/internal/checker/violation.go @@ -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{ @@ -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()