File tree 2 files changed +15
-17
lines changed
2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 1
1
run :
2
2
# timeout for analysis
3
- deadline : 4m
3
+ timeout : 4m
4
4
build-tags :
5
5
- autopilotrpc
6
6
- chainrpc
@@ -40,7 +40,7 @@ linters:
40
40
enable-all : true
41
41
disable :
42
42
# Allow dynamic errors.
43
- - goerr113
43
+ - err113
44
44
45
45
# We want to allow short variable names.
46
46
- varnamelen
@@ -70,36 +70,34 @@ linters:
70
70
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
71
71
- gofumpt
72
72
73
- # Disable gomnd even though we generally don't use magic numbers, but there
74
- # are exceptions where this improves readability.
75
- - gomnd
76
-
77
73
# Disable whitespace linter as it has conflict rules against our
78
74
# contribution guidelines. See https://github.com/bombsimon/wsl/issues/109.
79
75
#
80
76
# TODO: bring it back when the above issue is fixed.
81
77
- wsl
82
78
83
79
# Deprecated linters. See https://golangci-lint.run/usage/linters/.
84
- - interfacer
85
- - golint
86
- - maligned
87
- - scopelint
88
- - exhaustivestruct
89
80
- bodyclose
90
81
- contextcheck
91
82
- nilerr
92
83
- noctx
93
84
- rowserrcheck
94
85
- sqlclosecheck
95
- - structcheck
96
86
- tparallel
97
87
- unparam
98
88
- wastedassign
99
- - ifshort
100
- - varcheck
101
- - deadcode
102
- - nosnakecase
89
+
90
+ # New linters that need a code adjustment first.
91
+ - depguard
92
+ - testifylint
93
+ - intrange
94
+
95
+ # We use a replace directive for a custom protobuf library.
96
+ - gomoddirectives
97
+
98
+ # The linter is too aggressive and doesn't add much value since reviewers
99
+ # will also catch magic numbers that make sense to extract.
100
+ - mnd
103
101
104
102
issues :
105
103
# Only show newly introduced problems.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ GOACC_PKG := github.com/ory/go-acc
7
7
GO_BIN := ${GOPATH}/bin
8
8
LINT_BIN := $(GO_BIN ) /golangci-lint
9
9
10
- LINT_COMMIT := v1.51.2
10
+ LINT_COMMIT := v1.64.5
11
11
12
12
GOBUILD := go build -v
13
13
GOINSTALL := go install -v
You can’t perform that action at this time.
0 commit comments