.golangci.yml 531 B

123456789101112131415161718192021222324252627
  1. # golangci-lint configuration options
  2. linters:
  3. enable:
  4. - deadcode
  5. - errcheck
  6. - goimports
  7. - golint
  8. - ineffassign
  9. - structcheck
  10. - varcheck
  11. - govet
  12. - unconvert
  13. #- prealloc
  14. #- maligned
  15. disable-all: true
  16. issues:
  17. # Enable some lints excluded by default
  18. exclude-use-default: false
  19. # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
  20. max-per-linter: 0
  21. # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
  22. max-same-issues: 0