Skip to content

Commit ee275c2

Browse files
authored
Update GolangCI-lint to v1.58.1 (#110)
1 parent c47ab4a commit ee275c2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.golangci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ linters-settings:
2222
min-complexity: 20
2323
goimports:
2424
local-prefixes: github.com/golangci/golangci-lint
25-
gomnd:
25+
mnd:
2626
settings:
2727
mnd:
2828
# do not include the "operation" and "assign"
@@ -61,7 +61,7 @@ linters:
6161
- gocyclo
6262
- gofmt
6363
- goimports
64-
- gomnd
64+
- mnd
6565
- goprintffuncname
6666
- gosec
6767
- gosimple
@@ -104,7 +104,7 @@ issues:
104104
# Ignore magic numbers, inline strings and function length in tests.
105105
- path: _test\.go
106106
linters:
107-
- gomnd
107+
- mnd
108108
- goconst
109109
- funlen
110110
# Ignore line length for string assignments (do not try and wrap regex definitions)
@@ -121,6 +121,6 @@ issues:
121121
# golangci.com configuration
122122
# https://github.com/golangci/golangci/wiki/Configuration
123123
service:
124-
golangci-lint-version: 1.56.x # use the fixed version to not introduce new linters unexpectedly
124+
golangci-lint-version: 1.58.x # use the fixed version to not introduce new linters unexpectedly
125125
prepare:
126126
- echo "here I can run custom commands, but no preparation needed for this repo"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ GO_PACKAGES=$(shell go list ./... | grep -v vendor)
2525
vet
2626

2727
OCT_TOOL_NAME=oct
28-
GOLANGCI_VERSION=v1.56.2
28+
GOLANGCI_VERSION=v1.58.1
2929

3030
# Run the unit tests and build all binaries
3131
build:

0 commit comments

Comments
 (0)