Allow homoicon's local copy of sobek in the canonical .golangci.yml #132

Merged
clawbot merged 2 commits from golangci-gomoddirectives-sobek into next 2026-10-21 17:01:39 +02:00
Showing only changes of commit 6bee3ff9c0 - Show all commits
+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