1
0

.golangci.yml 737 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. linters:
  2. run:
  3. concurrency: 2
  4. skip-dirs:
  5. - tests/composefiles
  6. enable-all: false
  7. disable-all: true
  8. enable:
  9. - deadcode
  10. - errcheck
  11. - gocyclo
  12. - gofmt
  13. - goimports
  14. - golint
  15. - gosimple
  16. - govet
  17. - ineffassign
  18. - interfacer
  19. - lll
  20. - misspell
  21. - nakedret
  22. - staticcheck
  23. - structcheck
  24. - typecheck
  25. - unconvert
  26. - unparam
  27. - unused
  28. - varcheck
  29. linters-settings:
  30. gocyclo:
  31. min-complexity: 16
  32. lll:
  33. line-length: 200
  34. issues:
  35. # golangci hides some golint warnings (the warning about exported things
  36. # withtout documentation for example), this will make it show them anyway.
  37. exclude-use-default: false
  38. exclude:
  39. - should not use dot imports