Skip to content
Snippets Groups Projects
.golangci.yaml 425 B
Newer Older
  • Learn to ignore specific revisions
  • run:
      timeout: 1m
      tests: true
    
    linters:
      disable-all: true
      enable:
        - asciicheck
        - deadcode
        - errcheck
        - forcetypeassert
        - gocritic
        - gofmt
        - goimports
        - gosimple
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - structcheck
        - typecheck
        - unused
        - varcheck
    
    issues:
      exclude-use-default: false
      max-issues-per-linter: 0
      max-same-issues: 10