File tree 3 files changed +41
-36
lines changed
3 files changed +41
-36
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,13 @@ updates:
4
4
directory : " /"
5
5
schedule :
6
6
interval : weekly
7
- day : saturday
8
- time : " 02:00"
9
- timezone : Canada/Eastern
10
7
open-pull-requests-limit : 10
11
8
commit-message :
12
9
prefix : deps(go)
13
10
- package-ecosystem : github-actions
14
11
directory : " /"
15
12
schedule :
16
13
interval : weekly
17
- day : saturday
18
- time : " 02:00"
19
- timezone : Canada/Eastern
20
14
open-pull-requests-limit : 10
21
15
commit-message :
22
16
prefix : deps(actions)
Original file line number Diff line number Diff line change 33
33
with :
34
34
go-version-file : ' go.mod'
35
35
- name : golangci-lint
36
- uses : golangci/golangci-lint-action@v6
36
+ uses : golangci/golangci-lint-action@v7
37
37
with :
38
38
version : latest
39
39
args : --verbose --max-same-issues=0 --max-issues-per-linter=0
Original file line number Diff line number Diff line change 1
- linters-settings :
2
- govet :
3
- enable-all : true
4
- gocyclo :
5
- min-complexity : 10
6
- dupl :
7
- threshold : 100
8
- goconst :
9
- min-len : 2
10
- min-occurrences : 4
11
- lll :
12
- line-length : 140
13
- nolintlint :
14
- allow-unused : false # report any unused nolint directives
15
- require-explanation : false # don't require an explanation for nolint directives
16
- require-specific : false # don't require nolint directives to be specific about which linter is being skipped
17
-
1
+ version : " 2"
18
2
linters :
19
- disable-all : true
3
+ default : none
20
4
enable :
21
5
- asciicheck
22
6
- bodyclose
23
7
- copyloopvar
24
- # - dogsled
25
8
- dupl
26
9
- errcheck
27
10
- exhaustive
28
11
- funlen
29
- - gci
30
12
- gochecknoglobals
31
13
- gochecknoinits
32
14
- gocognit
33
15
- goconst
34
16
- gocritic
35
17
- gocyclo
36
18
- godox
37
- - gofmt
38
- # - gofumpt
39
19
- goheader
40
- - goimports
41
- # - gomnd
42
20
- gomodguard
43
21
- goprintffuncname
44
22
- gosec
45
- - gosimple
46
23
- govet
47
24
- ineffassign
48
25
- lll
49
26
- misspell
50
27
- nakedret
51
28
- nestif
52
- # - nlreturn
53
29
- noctx
54
30
- nolintlint
55
31
- prealloc
56
32
- revive
57
33
- rowserrcheck
58
34
- sqlclosecheck
59
35
- staticcheck
60
- - stylecheck
61
- - typecheck
62
36
- unconvert
63
37
- unparam
64
38
- unused
65
39
- whitespace
66
- # - wsl
40
+ settings :
41
+ dupl :
42
+ threshold : 100
43
+ goconst :
44
+ min-len : 2
45
+ min-occurrences : 4
46
+ gocyclo :
47
+ min-complexity : 10
48
+ govet :
49
+ enable-all : true
50
+ lll :
51
+ line-length : 140
52
+ nolintlint :
53
+ require-explanation : false
54
+ require-specific : false
55
+ allow-unused : false
56
+ exclusions :
57
+ generated : lax
58
+ presets :
59
+ - comments
60
+ - common-false-positives
61
+ - legacy
62
+ - std-error-handling
63
+ paths :
64
+ - third_party$
65
+ - builtin$
66
+ - examples$
67
+ formatters :
68
+ enable :
69
+ - gci
70
+ - gofmt
71
+ - goimports
72
+ exclusions :
73
+ generated : lax
74
+ paths :
75
+ - third_party$
76
+ - builtin$
77
+ - examples$
You can’t perform that action at this time.
0 commit comments