Skip to content

Commit

Permalink
update golangci-lint settings
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Engel <mengel@redhat.com>
  • Loading branch information
engelmi committed Jul 31, 2023
1 parent 768132d commit 277c710
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,17 @@ linters:
# endregion
linters-settings:
depguard:
list-type: whitelist
include-go-root: false
packages:
- github.com/ovirt/go-ovirt
- github.com/ovirt/go-ovirt-client/v3
- github.com/ovirt/go-ovirt-client-log/v3
- github.com/google/uuid
rules:
main:
files:
- "**/*.go"
allow:
- $gostd
- github.com/ovirt/go-ovirt
- github.com/ovirt/go-ovirt-client/v3
- github.com/ovirt/go-ovirt-client-log/v3
- github.com/google/uuid

govet:
enable-all: true
check-shadowing: false
Expand Down

0 comments on commit 277c710

Please sign in to comment.