aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
blob: 13f8ccb2532a9a868092028827179899e2d3ada4 (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
32
33
34
version: "2"
run:
  tests: true
  # Limit concurrency and timeout to avoid crashing constrained environments (like local VMs)
  concurrency: 2
  timeout: 5m
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$