-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
.golangci.yml
61 lines (59 loc) · 1.11 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# More infos: https://golangci-lint.run/usage/linters/
linters:
enable:
- asasalint
- asciicheck
- bidichk
- containedctx
- contextcheck
- cyclop
- decorder
- dupword
- errchkjson
- errname
- errorlint
- exhaustive
- exportloopref
- funlen
- gci
- gochecknoinits
- gocognit
- goconst
- gocritic
- gocyclo
- godot
- gofmt
- goimports
- goprintffuncname
- gosmopolitan
- importas
- ireturn
- lll
- maintidx
- makezero
- mirror
- misspell
- nakedret
- nestif
- nilerr
- nolintlint
- reassign
- revive
- stylecheck
- tenv
- thelper
- unconvert
- unparam
- usestdlibvars
- wastedassign
- whitespace
linters-settings:
revive:
rules:
- name: exported
arguments:
- disableStutteringCheck
issues:
include:
- EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
- EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments