golangci: allow homoicon's local copy of sobek in gomoddirectives
check / check (push) Canceled after 0s
check / check (push) Canceled after 0s
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:
|
recommendations:
|
||||||
- github.com/aymanbagabas/go-udiff
|
- github.com/aymanbagabas/go-udiff
|
||||||
reason: "Unmaintained fork; use 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:
|
issues:
|
||||||
max-issues-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user