diff --git a/.golangci.yml b/.golangci.yml index 393c267..0ddefab 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,11 +19,22 @@ linters: - goimports - goprintffuncname - govet - - interfacer - misspell - nolintlint - - scopelint + - exportloopref - typecheck - unconvert - unparam - whitespace + +linters-settings: + depguard: + rules: + main: + allow: + - $gostd + - github.com + test: + allow: + - $gostd + - github.com \ No newline at end of file