summaryrefslogtreecommitdiff
path: root/.golangci.yml
blob: 66732bfca3b77879fe7a261a3f2b40609475f534 (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
run:
  timeout: 1m
  concurrency: 2
  tests: false

linters:
  enable-all: false
  disable-all: true
  enable:
    - errcheck
    - gosimple
    - govet
    - ineffassign
    - staticcheck
    - typecheck
    - unused
    - prealloc
  presets:
    - performance

linters-settings:
  funlen:
    lines: 80
    statements: 50
  lll:
    line-length: 80

issues:
  exclude:
  # Display all issues
  max-issues-per-linter: 0
  max-same-issues: 0