diff --git a/.golangci.yaml b/.golangci.yaml index b28cab2e..81502fb7 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -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 diff --git a/go.mod b/go.mod index afc2b809..22ddae3f 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 9e0feedf..7ec6d5e7 100644 --- a/go.sum +++ b/go.sum @@ -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=