aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
blob: e8e83648c3eb3dba136d92c42367bdfa5188aeda (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
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