Allow homoicon's local copy of sobek in the canonical .golangci.yml #132
@@ -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