summaryrefslogtreecommitdiff
path: root/.golangci.yaml
blob: a185bb82656b75034d156fc28260d9030407183e (plain)
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
32
33
version: "2"
linters:
  enable:
    - gocritic
    - godot
    - gosec
    - misspell
    - perfsprint
    - prealloc
    - predeclared
    - reassign
    - revive
    - unconvert
  exclusions:
    generated: lax
    presets:
      - comments
      - common-false-positives
      - legacy
      - std-error-handling
    paths:
      - third_party$
      - builtin$
      - examples$
formatters:
  enable:
    - gofumpt
  exclusions:
    generated: lax
    paths:
      - third_party$
      - builtin$
      - examples$