Skip to content

Commit ddd58b7

Browse files
committed
workaround for ruleguard prob: golangci/golangci-lint#2190 (comment)
1 parent 2e73bf5 commit ddd58b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ linters-settings:
5757
local-prefixes: github.com/cirocosta/monero-exporter
5858
exhaustive:
5959
default-signifies-exhaustive: true
60+
gocritic:
61+
enabled-checks:
62+
- ruleguard
63+
settings:
64+
ruleguard:
65+
rules: "no-such-file.go"
6066

6167
run:
6268
timeout: 5m

0 commit comments

Comments
 (0)