File tree 1 file changed +5
-15
lines changed 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 1
1
run :
2
2
tests : true
3
- skip-dirs :
4
- - _examples
5
3
6
4
output :
7
5
print-issued-lines : false
8
6
9
7
linters :
10
8
enable-all : true
11
9
disable :
12
- - maligned
13
10
- lll
14
11
- gocyclo
15
12
- gochecknoglobals
@@ -19,12 +16,10 @@ linters:
19
16
- funlen
20
17
- gocognit
21
18
- gomnd
22
- - goerr113
23
19
- godot
24
20
- nestif
25
21
- testpackage
26
22
- nolintlint
27
- - exhaustivestruct
28
23
- wrapcheck
29
24
- gci
30
25
- gofumpt
@@ -35,11 +30,7 @@ linters:
35
30
- forbidigo
36
31
- revive
37
32
- cyclop
38
- - ifshort
39
33
- paralleltest
40
- - interfacer
41
- - scopelint
42
- - golint
43
34
- wastedassign
44
35
- forcetypeassert
45
36
- gomoddirectives
@@ -52,16 +43,13 @@ linters:
52
43
- maintidx
53
44
- unused # Does not work with type parameters
54
45
- dupword
55
- - structcheck
56
- - nosnakecase
57
- - varcheck
58
- - deadcode
59
46
- depguard
60
47
- mnd
48
+ - execinquery
49
+ - exportloopref
50
+ - err113
61
51
62
52
linters-settings :
63
- govet :
64
- check-shadowing : true
65
53
gocyclo :
66
54
min-complexity : 10
67
55
dupl :
@@ -74,6 +62,8 @@ linters-settings:
74
62
75
63
issues :
76
64
max-per-linter : 0
65
+ exclude-dirs :
66
+ - _examples
77
67
max-same : 0
78
68
exclude-use-default : false
79
69
exclude :
You can’t perform that action at this time.
0 commit comments