Skip to content

Commit

Permalink
Update .golangci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Jan 1, 2025
1 parent 9a9c659 commit f3c8f15
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ linters-settings:
- simmilar
perfsprint:
# Optimizes even if it requires an int or uint type cast.
int-conversion: false
int-conversion: true
# Optimizes into `err.Error()` even if it is only equivalent for non-nil errors.
err-error: true
# Optimizes `fmt.Errorf`.
errorf: true
# Optimizes `fmt.Sprintf` with only one argument.
sprintf1: false
sprintf1: true
# Optimizes into strings concatenation.
strconcat: true
revive:
Expand Down Expand Up @@ -152,8 +152,5 @@ issues:
linters:
- gocritic
text: "importShadow:"
- linters:
- perfsprint
text: "fmt.Sprint"
exclude-use-default: false
max-same-issues: 0

0 comments on commit f3c8f15

Please sign in to comment.