Skip to content

ci: add more go linter settings #26

ci: add more go linter settings

ci: add more go linter settings #26

Triggered via pull request July 21, 2023 22:15
Status Failure
Total duration 4m 41s
Artifacts

ci.yaml

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

Annotations

10 errors and 10 warnings
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Cannot open: File exists
go-linter
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
go-linter: debug/debug_linux.go#L33
exported: exported function SendEventsToLog should have comment or be unexported (revive)
go-linter: debug/debug.go#L8
exported: exported const INFO should have comment (or a comment on this block) or be unexported (revive)
go-linter: debug/debug.go#L16
exported: exported var LoggerErr should have comment or be unexported (revive)
go-linter: debug/debug.go#L19
exported: exported function DeferFuncForRunLogDriver should have comment or be unexported (revive)
go-linter: debug/debug.go#L4
package-comments: should have a package comment (revive)
go-linter: debug/debug_linux.go#L70
unused-parameter: parameter 'logFlag' seems to be unused, consider removing or renaming it as _ (revive)
go-linter: logger/common_opts.go#L15
exported: type name will be used as logger.LoggerOpt by other packages, and that stutters; consider calling this Opt (revive)
go-linter: logger/buffered_logger.go#L4
package-comments: should have a package comment (revive)
go-linter: logger/buffered_logger.go#L139
unused-parameter: parameter 'uid' seems to be unused, consider removing or renaming it as _ (revive)