-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
46 lines (45 loc) · 864 Bytes
/
.golangci.yml
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
# see https://golangci-lint.run/usage/linters/
linters:
disable-all: true
enable:
- bodyclose
- dogsled
- durationcheck
- errcheck
- errchkjson
- errorlint
- errname
- exhaustive
- exportloopref
- gci
- gochecknoglobals
- gochecknoinits
- gofumpt
- gosec
- gosimple
- govet
- importas
- ineffassign
- makezero
- maintidx
- misspell
- nilerr
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unused
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/kwo/uts)
maintidx:
# Show functions with maintainability index lower than N.
# A high index indicates better maintainability (it's kind of the opposite of complexity).
# Default: 20
under: 30