Skip to content

Commit a209a3c

Browse files
committed
lint: Disable depguard
This requires additional configuration golangci/golangci-lint#3877 (comment) With the default config, a lot of errors are reported. Signed-off-by: Christophe Fergeau <[email protected]>
1 parent 6ff6d6a commit a209a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ linters:
2121
enable:
2222
- asciicheck
2323
- bodyclose
24-
- depguard
2524
- dogsled
2625
- dupl
2726
- errcheck
@@ -69,4 +68,5 @@ linters:
6968
# - varcheck # deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
7069
# - deadcode # deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
7170
# - structcheck # deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
72-
# - rowserrcheck # we're not using sql.Rows at all in the codebase
71+
# - rowserrcheck # we're not using sql.Rows at all in the codebase
72+
# - depguard # this requires additional configuration https://github.com/golangci/golangci-lint/issues/3877#issuecomment-1573760321

0 commit comments

Comments
 (0)