aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
blob: 0837e25c5d944dcdf53f534c2e2c030d24660bdb (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
version: "2"
run:
  tests: true
  timeout: 5m

linters:
  disable-all: true
  disable:
    - errcheck
  enable:
    - staticcheck
    - govet
    - ineffassign
    - unparam
    - misspell

issues:
  exclude-use-default: false
  max-issues-per-linter: 0
  max-same-issues: 0
  exclude-rules:
    - path: _test\.go
      linters:
        - errcheck
        - staticcheck