Skip to content

Commit

Permalink
Merge pull request #15 from mythrnr/chore/renew-checkers
Browse files Browse the repository at this point in the history
chore: update golangci setting.
  • Loading branch information
mythrnr authored Jun 10, 2024
2 parents c43085a + cdcca9c commit 7093577
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 1 addition & 11 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# see: https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
# see: https://golangci-lint.run/usage/configuration/
run:
go: "1.20"

Expand Down Expand Up @@ -47,19 +47,14 @@ linters-settings:

linters:
disable:
- "contextcheck"
- "depguard"
- "exhaustruct"
- "gofumpt"
- "tagliatelle"
- "varnamelen"
- "wrapcheck"
# ---- deprecated ---- #
- "execinquery"
- "gomnd"
- "rowserrcheck"
- "sqlclosecheck"
- "wastedassign"
# -------------------- #
enable-all: true
fast: false
Expand All @@ -74,10 +69,5 @@ issues:
linters:
- "dupl"
- "err113"
- "errcheck"
- "funlen"
- "goerr113"
- "maintidx"
- path: "example"
linters:
- "mnd"
1 change: 0 additions & 1 deletion api_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ func consultExpectedCashbackInfo(
"/v1/payments/cashback/expected",
req,
)

if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 7093577

Please sign in to comment.