You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.golangci.yml 775B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. linters:
  2. # please, do not use `enable-all`: it's deprecated and will be removed soon.
  3. # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
  4. disable-all: true
  5. enable:
  6. - bodyclose
  7. - deadcode
  8. - depguard
  9. - dogsled
  10. - dupl
  11. - errcheck
  12. - funlen
  13. - gochecknoinits
  14. - goconst
  15. - gocritic
  16. - gocyclo
  17. - gofmt
  18. - goimports
  19. - golint
  20. - gomnd
  21. - goprintffuncname
  22. - gosec
  23. - gosimple
  24. - govet
  25. - ineffassign
  26. - interfacer
  27. - lll
  28. - misspell
  29. - nakedret
  30. - nolintlint
  31. - rowserrcheck
  32. - scopelint
  33. - staticcheck
  34. - structcheck
  35. - stylecheck
  36. - typecheck
  37. - unconvert
  38. - unparam
  39. - unused
  40. - varcheck
  41. - whitespace