Skip to content

Commit 9c004ba

Browse files
chore(lint): replace deprecated linter
1 parent fe9769e commit 9c004ba

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

src/.golangci.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
run:
2-
timeout: 10m
3-
allow-parallel-runners: true
4-
linters:
5-
disable-all: true
6-
enable:
7-
- bodyclose
8-
- dupl
9-
- errcheck
10-
- exhaustive
11-
- goconst
12-
- gocritic
13-
- gocyclo
14-
- gofmt
15-
- goimports
16-
- revive
17-
- goprintffuncname
18-
- gosimple
19-
- govet
20-
- ineffassign
21-
- misspell
22-
- nakedret
23-
- noctx
24-
- nolintlint
25-
- rowserrcheck
26-
- exportloopref
27-
- staticcheck
28-
- typecheck
29-
- unconvert
30-
- unparam
31-
- unused
32-
- whitespace
33-
- lll
34-
linters-settings:
35-
gocritic:
36-
enabled-tags:
37-
- diagnostic
38-
- opinionated
39-
- performance
40-
- style
41-
disabled-tags:
42-
- experimental
43-
lll:
44-
line-length: 180
1+
run:
2+
timeout: 10m
3+
allow-parallel-runners: true
4+
linters:
5+
disable-all: true
6+
enable:
7+
- bodyclose
8+
- dupl
9+
- errcheck
10+
- exhaustive
11+
- goconst
12+
- gocritic
13+
- gocyclo
14+
- gofmt
15+
- goimports
16+
- revive
17+
- goprintffuncname
18+
- gosimple
19+
- govet
20+
- ineffassign
21+
- misspell
22+
- nakedret
23+
- noctx
24+
- nolintlint
25+
- rowserrcheck
26+
- copyloopvar
27+
- staticcheck
28+
- typecheck
29+
- unconvert
30+
- unparam
31+
- unused
32+
- whitespace
33+
- lll
34+
linters-settings:
35+
gocritic:
36+
enabled-tags:
37+
- diagnostic
38+
- opinionated
39+
- performance
40+
- style
41+
disabled-tags:
42+
- experimental
43+
lll:
44+
line-length: 180

0 commit comments

Comments
 (0)