build(deps): bump github.com/go-critic/go-critic from 0.11.4 to 0.11.5 (#5061)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-10-08 14:33:24 +02:00 committed by GitHub
parent 31f2714643
commit b07c319f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 3 deletions

View File

@ -890,6 +890,9 @@ linters-settings:
# Detects input and output parameters that have a type of pointer to referential type.
# https://go-critic.com/overview.html#ptrToRefParam
- ptrToRefParam
# Detects append all its data while range it.
# https://go-critic.com/overview.html#rangeAppendAll
- rangeAppendAll
# Detects expensive copies of `for` loop range expressions.
# https://go-critic.com/overview.html#rangeExprCopy
- rangeExprCopy
@ -1086,6 +1089,7 @@ linters-settings:
- preferStringWriter
- preferWriteByte
- ptrToRefParam
- rangeAppendAll
- rangeExprCopy
- rangeValCopy
- redundantSprint

2
go.mod
View File

@ -38,7 +38,7 @@ require (
github.com/firefart/nonamedreturns v1.0.5
github.com/fzipp/gocyclo v0.6.0
github.com/ghostiam/protogetter v0.3.8
github.com/go-critic/go-critic v0.11.4
github.com/go-critic/go-critic v0.11.5
github.com/go-viper/mapstructure/v2 v2.2.1
github.com/go-xmlfmt/xmlfmt v1.1.2
github.com/gofrs/flock v0.12.1

4
go.sum generated
View File

@ -149,8 +149,8 @@ github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA=
github.com/ghostiam/protogetter v0.3.8 h1:LYcXbYvybUyTIxN2Mj9h6rHrDZBDwZloPoKctWrFyJY=
github.com/ghostiam/protogetter v0.3.8/go.mod h1:WZ0nw9pfzsgxuRsPOFQomgDVSWtDLJRfQJEhsGbmQMA=
github.com/go-critic/go-critic v0.11.4 h1:O7kGOCx0NDIni4czrkRIXTnit0mkyKOCePh3My6OyEU=
github.com/go-critic/go-critic v0.11.4/go.mod h1:2QAdo4iuLik5S9YG0rT4wcZ8QxwHYkrr6/2MWAiv/vc=
github.com/go-critic/go-critic v0.11.5 h1:TkDTOn5v7EEngMxu8KbuFqFR43USaaH8XRJLz1jhVYA=
github.com/go-critic/go-critic v0.11.5/go.mod h1:wu6U7ny9PiaHaZHcvMDmdysMqvDem162Rh3zWTrqk8M=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=

View File

@ -68,6 +68,7 @@
"preferStringWriter",
"preferWriteByte",
"ptrToRefParam",
"rangeAppendAll",
"rangeExprCopy",
"rangeValCopy",
"redundantSprint",