golangci: allow homoicon's local copy of sobek in gomoddirectives
check / check (push) Waiting to run
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user