Skip to content

Commit

Permalink
Update go to 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Byrgazov <vladislav.byrgazov@xored.com>
  • Loading branch information
Vladislav Byrgazov committed Oct 18, 2024
1 parent d612a5b commit 5ec9b9f
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
run:
# concurrency: 6
go: "1.20"
go: "1.23"
timeout: 2m
issues-exit-code: 1
tests: true
Expand All @@ -17,27 +17,24 @@ linters-settings:
check-type-assertions: false
check-blank: false
govet:
check-shadowing: true
enable:
- shadow
settings:
printf:
funcs:
- (github.com/sirupsen/logrus.FieldLogger).Infof
- (github.com/sirupsen/logrus.FieldLogger).Warnf
- (github.com/sirupsen/logrus.FieldLogger).Errorf
- (github.com/sirupsen/logrus.FieldLogger).Fatalf
revive:
min-confidence: 0.8
goimports:
local-prefixes: github.com/networkservicemesh
gocyclo:
min-complexity: 15
maligned:
suggest-new: true
dupl:
threshold: 150
funlen:
Lines: 140
Statements: 50
lines: 140
statements: 50
goconst:
min-len: 2
min-occurrences: 5
Expand Down Expand Up @@ -128,7 +125,6 @@ linters:
enable:
- goheader
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
Expand All @@ -147,15 +143,14 @@ linters:
- ineffassign
- misspell
- nakedret
- exportloopref
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- whitespace
- unused
- copyloopvar
issues:
exclude-use-default: false
max-issues-per-linter: 0
Expand Down

0 comments on commit 5ec9b9f

Please sign in to comment.