Skip to content

Commit 5e5cd4e

Browse files
committed
chore: update dependencies and cleanup CI config
1 parent eb118e9 commit 5e5cd4e

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

.golangci.yaml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,14 @@
11
run:
2-
timeout: 10s
32
allow-parallel-runners: true
43

54
linters:
65
enable-all: true
76
disable:
8-
- depguard
9-
- gci
10-
- godox
11-
- gofmt
12-
- gofumpt
13-
- goheader
14-
- goimports
157
- varnamelen
8+
- nonamedreturns
169
- exhaustivestruct
17-
- gocritic # it is bugged, ToDo: enable it back
18-
- errname # naming is too strict and is not observed in many places
19-
- golint # deprecated
20-
- importas # may be useful later, requires configuration
21-
- interfacer # deprecated
22-
- maligned # deprecated
23-
- misspell # we have IDE speller
24-
- scopelint # obsoleted, replaced by other linters
25-
- govet # invoked by the goland internally
26-
- tagliatelle # it isn't very handy to have such linter in a monorepo with a lot of different coding standards
27-
- nlreturn # there is wsl linter what implements the same checks
10+
- gofumpt
11+
- gci
2812

2913
issues:
3014
max-issues-per-linter: 0

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ module github.com/GaijinEntertainment/go-exhaustruct/v2
22

33
go 1.18
44

5-
require golang.org/x/tools v0.1.10
5+
require golang.org/x/tools v0.1.11
66

77
require (
8-
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
8+
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
99
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
10-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
1110
)

go.sum

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 h1:kQgndtyPBW/JIYERgdxfwMYh3AVStj88WQTlNDi2a+o=
2-
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY=
1+
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s=
2+
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
33
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=
44
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5-
golang.org/x/tools v0.1.10 h1:QjFRCZxdOhBJ/UNgnBZLbNV13DlbnK0quyivTnXJM20=
6-
golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E=
7-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
8-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
5+
golang.org/x/tools v0.1.11 h1:loJ25fNOEhSXfHrpoGj91eCUThwdNX6u24rO1xnNteY=
6+
golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4=

0 commit comments

Comments
 (0)