diff --git a/.golangci.yml b/.golangci.yml index 5b5f309..659315f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,38 +1,43 @@ +version: "2" + run: timeout: 5m linters: enable: - errcheck - - gosimple - govet - ineffassign - staticcheck - unused - - gofmt - - goimports - misspell - unconvert - unparam - gocritic + settings: + govet: + enable: + - shadow + gocritic: + enabled-tags: + - diagnostic + - style + exclusions: + rules: + - path: _test\.go + linters: + - errcheck + - unparam + - path: mock_ + linters: + - unused + - unparam -linters-settings: - govet: - shadow: true - goimports: - local-prefixes: github.com/entire-vc/evc-mesh - gocritic: - enabled-tags: - - diagnostic - - style - -issues: - exclude-rules: - - path: _test\.go - linters: - - errcheck - - unparam - - path: mock_ - linters: - - unused - - unparam +formatters: + enable: + - gofmt + - goimports + settings: + goimports: + local-prefixes: + - github.com/entire-vc/evc-mesh