Skip to content

Commit 180b6e3

Browse files
disbaled depguard
1 parent ac5d041 commit 180b6e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/linters/.golangci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ linters:
88
enable:
99
- bodyclose
1010
- copyloopvar
11-
- depguard
11+
# - depguard # Disabled - no import restrictions previously
1212
- dogsled
1313
- errcheck
1414
- goconst
@@ -65,9 +65,6 @@ linters-settings:
6565
# https://staticcheck.io/docs/configuration/options/#initialisms
6666
initialisms: ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS"]
6767

68-
depguard:
69-
# No rules configured - depguard will allow all dependencies by default
70-
7168
goconst:
7269
min-occurrences: 5
7370
ignore-tests: true

0 commit comments

Comments
 (0)