summaryrefslogtreecommitdiffstats
path: root/.golangci-soft.yml
blob: ef456e0605919f959a254d6dbe917b5d26f7ffcd (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
run:
  tests: false

issues:
  include:
    - EXC0001
    - EXC0005
    - EXC0011
    - EXC0012
    - EXC0013

  max-issues-per-linter: 0
  max-same-issues: 0

linters:
  enable:
    # - dupl
    - exhaustive
    # - exhaustivestruct
    - goconst
    - godot
    - godox
    - gomnd
    - gomoddirectives
    - goprintffuncname
    - ifshort
    # - lll
    - misspell
    - nakedret
    - nestif
    - noctx
    - nolintlint
    - prealloc
    - wrapcheck

  # disable default linters, they are already enabled in .golangci.yml
  disable:
    - deadcode
    - errcheck
    - gosimple
    - govet
    - ineffassign
    - staticcheck
    - structcheck
    - typecheck
    - unused
    - varcheck