Skip to content

Commit

Permalink
chore: update dependencies and cleanup CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Jun 10, 2022
1 parent eb118e9 commit 5e5cd4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 28 deletions.
22 changes: 3 additions & 19 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,14 @@
run:
timeout: 10s
allow-parallel-runners: true

linters:
enable-all: true
disable:
- depguard
- gci
- godox
- gofmt
- gofumpt
- goheader
- goimports
- varnamelen
- nonamedreturns
- exhaustivestruct
- gocritic # it is bugged, ToDo: enable it back
- errname # naming is too strict and is not observed in many places
- golint # deprecated
- importas # may be useful later, requires configuration
- interfacer # deprecated
- maligned # deprecated
- misspell # we have IDE speller
- scopelint # obsoleted, replaced by other linters
- govet # invoked by the goland internally
- tagliatelle # it isn't very handy to have such linter in a monorepo with a lot of different coding standards
- nlreturn # there is wsl linter what implements the same checks
- gofumpt
- gci

issues:
max-issues-per-linter: 0
Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ module github.com/GaijinEntertainment/go-exhaustruct/v2

go 1.18

require golang.org/x/tools v0.1.10
require golang.org/x/tools v0.1.11

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

0 comments on commit 5e5cd4e

Please sign in to comment.