.golangci.yml 382 B

123456789101112131415161718
  1. # NOTE(@andreynering): The linters listed here are additions on top of
  2. # those enabled by default:
  3. #
  4. # https://golangci-lint.run/usage/linters/#enabled-by-default
  5. linters:
  6. enable:
  7. - goimports
  8. - gofmt
  9. - gofumpt
  10. linters-settings:
  11. goimports:
  12. local-prefixes: github.com/go-task
  13. gofmt:
  14. rewrite-rules:
  15. - pattern: 'interface{}'
  16. replacement: 'any'