.golangci.yml 1003 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. run:
  2. timeout: 5m
  3. modules-download-mode: readonly
  4. linters-settings:
  5. gofmt:
  6. simplify: true
  7. goimports:
  8. local-prefixes: github.com/girish17/op-mattermost-plugin
  9. golint:
  10. min-confidence: 0
  11. govet:
  12. check-shadowing: true
  13. enable-all: true
  14. disable:
  15. - fieldalignment
  16. misspell:
  17. locale: US
  18. linters:
  19. disable-all: true
  20. enable:
  21. - bodyclose
  22. - deadcode
  23. - errcheck
  24. - gocritic
  25. - gofmt
  26. - goimports
  27. - golint
  28. - gosec
  29. - gosimple
  30. - govet
  31. - ineffassign
  32. - misspell
  33. - nakedret
  34. - staticcheck
  35. - structcheck
  36. - stylecheck
  37. - typecheck
  38. - unconvert
  39. - unused
  40. - varcheck
  41. - whitespace
  42. issues:
  43. exclude-rules:
  44. - path: server/manifest.go
  45. linters:
  46. - deadcode
  47. - unused
  48. - varcheck
  49. - path: server/configuration.go
  50. linters:
  51. - unused
  52. - path: _test\.go
  53. linters:
  54. - bodyclose
  55. - scopelint # https://github.com/kyoh86/scopelint/issues/4