Task # AST-31546 #2177
Annotations
10 errors and 1 warning
golangci-lint:
internal/commands/result.go#L1120
string `15.0.0` has 2 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/commands/result.go#L1119
string `https://gitlab.com/gitlab-org/gitlab/-/raw/master/lib/gitlab/ci/parsers/security/validators/schemas/15.0.0/sast-report-format.json` has 2 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/commands/result.go#L1537
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
internal/wrappers/results-gl-dependency.go#L6
const `ScannerId` should be `ScannerID` (golint)
|
golangci-lint:
internal/wrappers/results-gl-dependency.go#L32
struct field `Id` should be `ID` (golint)
|
golangci-lint:
internal/wrappers/results-gl-dependency.go#L39
struct field `Id` should be `ID` (golint)
|
golangci-lint:
internal/wrappers/results-gl-dependency.go#L46
struct field `Id` should be `ID` (golint)
|
golangci-lint:
internal/wrappers/results-gl-dependency.go#L66
struct field `Url` should be `URL` (golint)
|
golangci-lint:
internal/commands/result.go#L1432
`convertCxResultToGlDependencyVulnerability` - `summaryBaseURI` is unused (unparam)
|
golangci-lint:
internal/commands/result.go#L1440
`convertCxResultToGlDependencyFiles` - `summaryBaseURI` is unused (unparam)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading