.golangci.yml 720 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. - revive
  15. - gosimple
  16. - govet
  17. - ineffassign
  18. - lll
  19. - misspell
  20. - nakedret
  21. - staticcheck
  22. - structcheck
  23. - typecheck
  24. - unconvert
  25. - unparam
  26. - unused
  27. - varcheck
  28. linters-settings:
  29. gocyclo:
  30. min-complexity: 16
  31. lll:
  32. line-length: 200
  33. issues:
  34. # golangci hides some golint warnings (the warning about exported things
  35. # withtout documentation for example), this will make it show them anyway.
  36. exclude-use-default: false
  37. exclude:
  38. - should not use dot imports