fix: fix some lint issues #8471
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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)
|