.golangci.yml
This file
Path
.golangci.yml
47 lines · 764 bytes · YAML
Last changed by
ci: sync golangci-lint config (#1556)github-actions[bot]before adoption65c3978
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748version: "2"run: tests: falselinters: enable: - bodyclose - exhaustive - goconst - godot - gomoddirectives - goprintffuncname - gosec - misspell - nakedret - nestif - nilerr - noctx - nolintlint - prealloc - revive - rowserrcheck - sqlclosecheck - tparallel - unconvert - unparam - whitespace - wrapcheck exclusions: rules: - text: '(slog|log)\.\w+' linters: - noctx generated: lax presets: - common-false-positives settings: exhaustive: default-signifies-exhaustive: trueissues: max-issues-per-linter: 0 max-same-issues: 0formatters: enable: - gofumpt - goimports exclusions: generated: lax