.golangci.yml 566 B

12345678910111213141516171819202122232425262728293031323334
  1. # More info on config here: https://golangci-lint.run/usage/configuration/#config-file
  2. run:
  3. skip-dirs:
  4. - build
  5. - frontend
  6. - scripts
  7. output:
  8. format: colored-line-number
  9. print-issued-lines: true
  10. print-linter-name: true
  11. linters-settings:
  12. govet:
  13. check-shadowing: true
  14. revive:
  15. min-confidence: 0
  16. goconst:
  17. min-len: 2
  18. min-occurrences: 2
  19. linters:
  20. disable-all: true
  21. enable:
  22. - govet
  23. - ineffassign
  24. - typecheck
  25. - errcheck
  26. - goconst
  27. - goimports
  28. - gosec
  29. - revive
  30. - gocritic
  31. - prealloc