File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
3
concurrency : 3
3
- timeout : 4m
4
-
5
4
linters :
6
- enable-all : true
5
+ default : all
7
6
disable :
8
7
- depguard
9
8
- ireturn
10
9
- mnd
11
10
- varnamelen
12
11
- wrapcheck
13
12
- wsl
14
-
15
- linters-settings :
13
+ exclusions :
14
+ generated : lax
15
+ presets :
16
+ - comments
17
+ - common-false-positives
18
+ - legacy
19
+ - std-error-handling
20
+ paths :
21
+ - third_party$
22
+ - builtin$
23
+ - examples$
24
+ formatters :
25
+ enable :
26
+ - gci
27
+ - gofmt
28
+ - gofumpt
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 1
1
GOCMD = go
2
2
GOTEST = $(GOCMD ) test
3
3
4
- GOLANGCI_VERSION ?= v1.64.5
4
+ GOLANGCI_VERSION ?= v2.1.6
5
5
TOOLS_BIN := $(shell mkdir -p build/tools && realpath build/tools)
6
6
7
7
GOLANGCI = $(TOOLS_BIN ) /golangci-lint-$(GOLANGCI_VERSION )
You can’t perform that action at this time.
0 commit comments