good morning!!!!

Skip to content
Snippets Groups Projects
.golangci.yml 830 B
Newer Older
    - gofmt
    - deadcode
    - errcheck
    - gosimple
    - govet
    - ineffassign
    - staticcheck
    - structcheck
    - unused
    - varcheck

linters-settings:
  govet:
    disable:
      - deepequalerrors
      - fieldalignment
      - shadow
      - unsafeptr
  goconst:
    min-len: 2
    min-occurrences: 2
  gofmt:
    auto-fix: false

issues:
  exclude-rules:
    - linters:
        - golint
      text: "should be"
    - linters:
        - errcheck
      text: "not checked"
    - linters:
        - staticcheck
      text: "SA(1019|1029|5011)"
    # Exclude some linters from running on tests files.
    - path: _test\.go
Alex Sharov's avatar
Alex Sharov committed
    - path: metrics/sample\.go
      linters:
        - gosec