File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
123123service :
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"
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ GO_PACKAGES=$(shell go list ./... | grep -v vendor)
2525 vet
2626
2727OCT_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
3131build :
You can’t perform that action at this time.
0 commit comments