File tree Expand file tree Collapse file tree 2 files changed +43
-41
lines changed Expand file tree Collapse file tree 2 files changed +43
-41
lines changed Original file line number Diff line number Diff line change 53
53
go-version : ${{ env.GO }}
54
54
55
55
- name : Run GolangCi-Lint
56
- uses : golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5 .0
56
+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0 .0
57
57
with :
58
58
version : latest
Original file line number Diff line number Diff line change
1
+ version : " 2"
2
+
1
3
linters :
4
+ default : none
5
+
2
6
enable : # keep in ascending order
3
7
- asasalint
4
8
- asciicheck
@@ -13,15 +17,12 @@ linters:
13
17
- exhaustive
14
18
- exptostd
15
19
- fatcontext
16
- - gci
17
20
- gocheckcompilerdirectives
18
21
- gochecksumtype
19
22
- goconst
20
23
- gocritic
21
- - gofumpt
22
24
- goprintffuncname
23
25
- gosec
24
- - gosimple
25
26
- govet
26
27
- iface
27
28
- inamedparam
@@ -35,6 +36,7 @@ linters:
35
36
- nilerr
36
37
- noctx
37
38
- nolintlint
39
+ - paralleltest
38
40
- perfsprint
39
41
- prealloc
40
42
- predeclared
@@ -55,41 +57,41 @@ linters:
55
57
- wastedassign
56
58
- whitespace
57
59
58
- linters-settings :
59
- dupl :
60
- threshold : 100
61
- misspell :
62
- locale : US
63
- govet :
64
- enable-all : true
65
- disable :
66
- - shadow
67
- gci :
68
- sections :
69
- - standard
70
- - default
71
- - prefix(github.com/sv-tools/mock-http-server)
72
- gofumpt :
73
- extra-rules : true
74
- lll :
75
- line-length : 120
76
- tab-width : 4
77
- goconst :
78
- min-len : 3
79
- min-occurrences : 3
80
- prealloc :
81
- for-loops : true
82
- gocritic :
83
- enabled-tags :
84
- - diagnostic
85
- - experimental
86
- - opinionated
87
- - performance
88
- - style
89
- disabled-checks :
90
- - whyNoLint
60
+ settings :
61
+ dupl :
62
+ threshold : 100
63
+ misspell :
64
+ locale : US
65
+ lll :
66
+ line-length : 120
67
+ tab-width : 4
68
+ goconst :
69
+ min-len : 3
70
+ min-occurrences : 3
71
+ prealloc :
72
+ for-loops : true
73
+ gocritic :
74
+ enabled-tags :
75
+ - diagnostic
76
+ - experimental
77
+ - opinionated
78
+ - performance
79
+ - style
80
+ disabled-checks :
81
+ - whyNoLint
91
82
92
- issues :
93
- exclude-use-default : false
94
- exclude :
95
- - should have a package comment
83
+ exclusions :
84
+ warn-unused : true
85
+
86
+ formatters :
87
+ enable :
88
+ - gci
89
+ - gofumpt
90
+ settings :
91
+ gci :
92
+ sections :
93
+ - standard
94
+ - default
95
+ - prefix(github.com/sv-tools/mock-http-server)
96
+ gofumpt :
97
+ extra-rules : true
You can’t perform that action at this time.
0 commit comments