Skip to content

Commit 27ea68b

Browse files
authored
Bump dependencies (#26)
1 parent c107842 commit 27ea68b

File tree

4 files changed

+10
-19
lines changed

4 files changed

+10
-19
lines changed

.golangci.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff 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

2018
linters:
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"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ MODULE_NAME=timeparser
22

33
VENDOR_DIR = vendor
44

5-
GOLANGCI_LINT_VERSION ?= v1.55.2
5+
GOLANGCI_LINT_VERSION ?= v1.64.7
66

77
GO ?= go
88
GOLANGCI_LINT ?= $(shell go env GOPATH)/bin/golangci-lint-$(GOLANGCI_LINT_VERSION)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module go.nhat.io/timeparser
22

33
go 1.17
44

5-
require github.com/stretchr/testify v1.9.0
5+
require github.com/stretchr/testify v1.10.0
66

77
require (
88
github.com/davecgh/go-spew v1.1.1 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/
1010
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
1111
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
1212
github.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=
1515
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1616
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1717
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)