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 583B

123456789101112131415161718192021222324252627
  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 40
  8. maligned:
  9. suggest-new: true
  10. dupl:
  11. threshold: 100
  12. goconst:
  13. min-len: 2
  14. min-occurrences: 4
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - lll
  20. - gochecknoglobals
  21. - gochecknoinits
  22. # scopelint is useful, but also reports false positives
  23. # that unfortunately can't be disabled. So we disable the
  24. # linter rather than changing code that works.
  25. # see: https://github.com/kyoh86/scopelint/issues/4
  26. - scopelint