File tree Expand file tree Collapse file tree 2 files changed +25
-14
lines changed Expand file tree Collapse file tree 2 files changed +25
-14
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
3
timeout : 5m
3
-
4
- output :
5
- formats :
6
- - format : colored-line-number
7
-
8
4
linters :
9
- disable-all : true
5
+ default : none
10
6
enable :
11
7
- errcheck
12
- - gofmt
13
- - gosimple
14
8
- govet
15
9
- ineffassign
10
+ - revive
16
11
- staticcheck
17
- - typecheck
18
12
- thelper
19
13
- unused
20
- - goimports
21
14
- whitespace
22
- - revive
23
- fast : false
24
- max-same-issues : 50
15
+ exclusions :
16
+ generated : lax
17
+ presets :
18
+ - comments
19
+ - common-false-positives
20
+ - legacy
21
+ - std-error-handling
22
+ paths :
23
+ - third_party$
24
+ - builtin$
25
+ - examples$
26
+ formatters :
27
+ enable :
28
+ - gofmt
29
+ - goimports
30
+ exclusions :
31
+ generated : lax
32
+ paths :
33
+ - third_party$
34
+ - builtin$
35
+ - examples$
Original file line number Diff line number Diff line change 6
6
test :
7
7
go test -v ./...
8
8
9
- GOLANGCI_LINT_VERSION ?= v1.60.1
9
+ GOLANGCI_LINT_VERSION ?= v2.1.2
10
10
lint :
11
11
if ! command -v golangci-lint & > /dev/null; then \
12
12
echo "Could not find golangci-lint, installing version $(GOLANGCI_LINT_VERSION)."; \
You can’t perform that action at this time.
0 commit comments