aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
blob: d3062dc75753a339a0a7141faea97363c564ac10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "2"
run:
  tests: true
linters:
  default: none
  enable:
    - govet
    - ineffassign
    - misspell
    - staticcheck
    - unparam
  exclusions:
    generated: lax
    rules:
      - linters:
          - errcheck
        path: .*_test\.go
    paths:
      - third_party$
      - builtin$
      - examples$
issues:
  max-issues-per-linter: 0
  max-same-issues: 0
formatters:
  exclusions:
    generated: lax
    paths:
      - third_party$
      - builtin$
      - examples$