Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(types): fix lint errors and wrong implementation. #19

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ linters:
- misspell
- musttag
- nakedret
- nestif
kehiy marked this conversation as resolved.
Show resolved Hide resolved
- nilerr
- nilnil
- nlreturn
- nestif
- noctx
- nolintlint
- nosprintfhostport
Expand All @@ -73,7 +73,6 @@ linters:
- usestdlibvars
- wastedassign
- whitespace
# - wrapcheck
- zerologlint
- nonamedreturns

Expand All @@ -83,9 +82,8 @@ linters-settings:

govet:
enable-all: true
disable: fieldalignment
shadow:
strict: true
disable:
- fieldalignment

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,12 @@ issues:
- nestif
- gocognit
- forbidigo
- lll

- path: _easyjson.go
linters:
- nestif

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

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