Skip to content

Add golangci-lint

Add golangci-lint #46

Triggered via pull request July 19, 2024 02:24
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Test (1.18)
Process completed with exit code 1.
Test (1.19)
Process completed with exit code 1.
Test (1.17)
Process completed with exit code 1.
Test (1.21)
Process completed with exit code 1.
Go Lint: app.go#L132
deprecatedComment: use `Deprecated: ` (note the casing) instead of `DEPRECATED: ` (gocritic)
Go Lint: flags.go#L273
deprecatedComment: use `Deprecated: ` (note the casing) instead of `DEPRECATED: ` (gocritic)
Go Lint: parser.go#L324
ifElseChain: rewrite if-else to switch statement (gocritic)
Go Lint: args.go#L177
Comment should end in a period (godot)
Go Lint: args.go#L183
Comment should end in a period (godot)
Go Lint: completions.go#L15
Comment should end in a period (godot)
Go Lint: flags.go#L230
Comment should end in a period (godot)
Go Lint: flags.go#L236
Comment should end in a period (godot)
Go Lint: flags.go#L258
Comment should end in a period (godot)
Go Lint: parsers.go#L43
Comment should end in a period (godot)
Test (stable)
Process completed with exit code 1.
Test (1.20)
Process completed with exit code 1.