linters: enable: - errcheck - gosimple - govet - ineffassign - staticcheck - unused - gosec - gocritic disable: - exhaustruct - nlreturn - wsl - wrapcheck linters-settings: errcheck: exclude-functions: - (*encoding/json.Encoder).Encode - io.WriteString - (io.Closer).Close issues: exclude-rules: - path: _test\.go linters: - errcheck - gosec - path: handlers/testutils/ linters: - gosec - path: internal/square/square_dev.go linters: - errcheck run: timeout: 5m