golangci: allow homoicon's local copy of sobek in gomoddirectives
check / check (push) Waiting to run

sneak/homoicon keeps a local copy of sobek, swapped in by a local-path replace
that gomoddirectives refuses: sneak/homoicon#1759

Model: opus-5-5
This commit is contained in:
2026-10-21 05:14:30 +00:00
parent 065357920a
commit 6bee3ff9c0
+9
View File
@@ -95,6 +95,15 @@ linters:
recommendations:
- github.com/aymanbagabas/go-udiff
reason: "Unmaintained fork; use go-udiff."
exclusions:
rules:
# homoicon keeps a local copy of the JavaScript engine (sneak's decision,
# https://git.eeqj.de/sneak/homoicon/issues/1759#issuecomment-153261).
# Excluded, as gomoddirectives' replace-allow-list skips local paths.
- path: ^go\.mod$
linters:
- gomoddirectives
text: '^local replacement are not allowed: github\.com/grafana/sobek$'
issues:
max-issues-per-linter: 0