Skip to content

Commit

Permalink
refactor(types): fix lint errors and wrong implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Sep 9, 2024
1 parent 04aa03e commit c83431e
Show file tree
Hide file tree
Showing 12 changed files with 738 additions and 540 deletions.
10 changes: 4 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ linters:
- misspell
- musttag
- nakedret
- nestif
- nilerr
- nilnil
- nlreturn
Expand All @@ -73,7 +72,6 @@ linters:
- usestdlibvars
- wastedassign
- whitespace
# - wrapcheck
- zerologlint
- nonamedreturns

Expand All @@ -85,7 +83,7 @@ linters-settings:
enable-all: true
disable: fieldalignment
shadow:
strict: true
strict: true

predeclared:
# Comma-separated list of predeclared identifiers to not report on.
Expand All @@ -106,7 +104,7 @@ linters-settings:
nonamedreturns:
# Report named error if it is assigned inside defer.
# Default: false
report-error-in-defer: false
report-error-in-defer: false

gocritic:
disabled-checks:
Expand All @@ -130,8 +128,8 @@ issues:
- nestif
- gocognit
- forbidigo
- lll

- linters:
- govet
text: "shadow: declaration of \"err\" shadows"

text: 'shadow: declaration of "err" shadows'
Loading

0 comments on commit c83431e

Please sign in to comment.