linters: disable-all: true enable: - bodyclose - deadcode - depguard - dogsled - dupl - errcheck - gochecknoglobals - gochecknoinits - goconst - gocritic - gocyclo - gofmt - goimports - golint - gosec - gosimple - govet - ineffassign - interfacer - lll - maligned - misspell - nakedret - prealloc - scopelint - staticcheck - structcheck - typecheck - unconvert - unparam - unused - varcheck run: skip-dirs: - echo - example/echo issues: exclude: - "not declared by package utf8" - "unicode/utf8/utf8.go" exclude-rules: - path: _test\.go linters: - prealloc - path: errors_test\.go linters: - unused