File tree Expand file tree Collapse file tree 4 files changed +10
-19
lines changed
Expand file tree Collapse file tree 4 files changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -12,38 +12,29 @@ linters-settings:
1212 threshold : 100
1313 misspell :
1414 locale : US
15- unused :
16- check-exported : false
1715 unparam :
1816 check-exported : true
1917
2018linters :
2119 enable-all : true
2220 disable :
23- - deadcode
21+ - copyloopvar
2422 - depguard
25- - exhaustivestruct
2623 - exhaustruct
2724 - forbidigo
2825 - forcetypeassert
2926 - gci
3027 - gochecknoglobals
31- - golint
32- - gomnd
33- - ifshort
34- - interfacer
28+ - intrange
3529 - ireturn
3630 - lll
37- - maligned
31+ - mnd
3832 - nonamedreturns
39- - nosnakecase
4033 - nolintlint # https://github.com/golangci/golangci-lint/issues/3063
4134 - paralleltest
42- - scopelint
43- - structcheck
4435 - tagliatelle
36+ - tenv
4537 - testpackage
46- - varcheck
4738 - varnamelen
4839 - wrapcheck
4940
@@ -52,9 +43,9 @@ issues:
5243 exclude-rules :
5344 - linters :
5445 - dupl
46+ - err113
5547 - funlen
5648 - goconst
57- - goerr113
58- - gomnd
49+ - mnd
5950 - noctx
6051 path : " _test.go"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ MODULE_NAME=timeparser
22
33VENDOR_DIR = vendor
44
5- GOLANGCI_LINT_VERSION ?= v1.55.2
5+ GOLANGCI_LINT_VERSION ?= v1.64.7
66
77GO ?= go
88GOLANGCI_LINT ?= $(shell go env GOPATH) /bin/golangci-lint-$(GOLANGCI_LINT_VERSION )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module go.nhat.io/timeparser
22
33go 1.17
44
5- require github.com/stretchr/testify v1.9 .0
5+ require github.com/stretchr/testify v1.10 .0
66
77require (
88 github.com/davecgh/go-spew v1.1.1 // indirect
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/
1010github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
1111github.com/stretchr/testify v1.8.0 /go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU =
1212github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
13- github.com/stretchr/testify v1.9 .0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
14- github.com/stretchr/testify v1.9 .0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
13+ github.com/stretchr/testify v1.10 .0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA =
14+ github.com/stretchr/testify v1.10 .0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
1515gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
1616gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
1717gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
You can’t perform that action at this time.
0 commit comments