Skip to content

Commit 5693c0f

Browse files
committed
chore: minor changes
1 parent fa6feaf commit 5693c0f

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.goreleaser.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ aur_sources:
190190
local _commit _flags
191191
_commit=$(bsdcat "${pkgname}-${pkgver}.tar.gz" | git get-tar-commit-id)
192192
_flags=(
193-
-X=main.version="$pkgver"
194-
-X=main.commit="${_commit::7}"
195-
-X=main.date="$(date -u -d "@${SOURCE_DATE_EPOCH}" +'%FT%TZ')"
196-
-linkmode=external
193+
-X=main.version="$pkgver"
194+
-X=main.commit="${_commit::7}"
195+
-X=main.date="$(date -u -d "@${SOURCE_DATE_EPOCH}" +'%FT%TZ')"
196+
-linkmode=external
197197
)
198198
export CGO_ENABLED=1
199199
export CGO_CFLAGS="${CFLAGS}"

pkg/golinters/forbidigo/forbidigo.go

+2-5
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,8 @@ func runForbidigo(pass *analysis.Pass, settings *config.ForbidigoSettings) error
7979

8080
for _, hint := range hints {
8181
pass.Report(analysis.Diagnostic{
82-
Pos: hint.Pos(),
83-
Message: hint.Details(),
84-
URL: "",
85-
SuggestedFixes: nil,
86-
Related: nil,
82+
Pos: hint.Pos(),
83+
Message: hint.Details(),
8784
})
8885
}
8986
}

scripts/website/expand_templates/thanks.go

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ func getThanksList() string {
4141
linterURL = "https://github.com/dominikh/go-tools"
4242
}
4343

44+
if strings.HasPrefix(lc.OriginalURL, "https://github.com/gostaticanalysis/") {
45+
linterURL = "https://github.com/tenntenn/gostaticanalysis"
46+
}
47+
4448
if author := extractAuthor(linterURL, "https://github.com/"); author != "" && author != "golangci" {
4549
if _, ok := addedAuthors[author]; ok {
4650
addedAuthors[author].Linters = append(addedAuthors[author].Linters, lc.Name())

0 commit comments

Comments
 (0)