Skip to content

fix: fix some lint issues #8471

fix: fix some lint issues

fix: fix some lint issues #8471

Triggered via pull request October 16, 2023 21:34
Status Failure
Total duration 3m 52s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint Go code: ignite/pkg/jsonfile/jsonfile.go#L197
S1040: type assertion to the same type: param already has type interface{} (gosimple)
Lint Go code: ignite/pkg/cache/cache.go#L97
naked return in func `Get` with 33 lines of code (nakedret)
Lint Go code: ignite/pkg/cosmosanalysis/app/app.go#L223
naked return in func `findBasicManagerRegistrations` with 64 lines of code (nakedret)
Lint Go code: ignite/pkg/cosmosanalysis/app/app.go#L228
naked return in func `findBasicManagerRegistrations` with 64 lines of code (nakedret)
Lint Go code: ignite/pkg/cosmosanalysis/app/app.go#L233
naked return in func `findBasicManagerRegistrations` with 64 lines of code (nakedret)
Lint Go code: ignite/pkg/cosmosanalysis/app/app.go#L238
naked return in func `findBasicManagerRegistrations` with 64 lines of code (nakedret)
Lint Go code: ignite/pkg/cosmosanalysis/app/app.go#L241
naked return in func `findBasicManagerRegistrations` with 64 lines of code (nakedret)
Lint Go code: ignite/pkg/placeholder/error.go#L21
directive `//nolint:errorlint` is unused for linter "errorlint" (nolintlint)
Lint Go code: ignite/pkg/jsonfile/jsonfile.go#L184
directive `//nolint:errorlint` is unused for linter "errorlint" (nolintlint)
Lint Go code: ignite/pkg/jsonfile/jsonfile.go#L202
directive `//nolint:errorlint` is unused for linter "errorlint" (nolintlint)