diff --git a/src/.golangci.yml b/src/.golangci.yml index 3f57075..db400cb 100644 --- a/src/.golangci.yml +++ b/src/.golangci.yml @@ -1,44 +1,44 @@ -run: - timeout: 10m - allow-parallel-runners: true -linters: - disable-all: true - enable: - - bodyclose - - dupl - - errcheck - - exhaustive - - goconst - - gocritic - - gocyclo - - gofmt - - goimports - - revive - - goprintffuncname - - gosimple - - govet - - ineffassign - - misspell - - nakedret - - noctx - - nolintlint - - rowserrcheck - - exportloopref - - staticcheck - - typecheck - - unconvert - - unparam - - unused - - whitespace - - lll -linters-settings: - gocritic: - enabled-tags: - - diagnostic - - opinionated - - performance - - style - disabled-tags: - - experimental - lll: - line-length: 180 +run: + timeout: 10m + allow-parallel-runners: true +linters: + disable-all: true + enable: + - bodyclose + - dupl + - errcheck + - exhaustive + - goconst + - gocritic + - gocyclo + - gofmt + - goimports + - revive + - goprintffuncname + - gosimple + - govet + - ineffassign + - misspell + - nakedret + - noctx + - nolintlint + - rowserrcheck + - copyloopvar + - staticcheck + - typecheck + - unconvert + - unparam + - unused + - whitespace + - lll +linters-settings: + gocritic: + enabled-tags: + - diagnostic + - opinionated + - performance + - style + disabled-tags: + - experimental + lll: + line-length: 180