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