Skip to content

bcs-common pkg目录下遵循代码规范 #266

bcs-common pkg目录下遵循代码规范

bcs-common pkg目录下遵循代码规范 #266

Triggered via pull request September 28, 2023 08:33
Status Success
Total duration 2m 16s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 12 warnings
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-webconsole
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-bscp
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-monitor
Cannot open: File exists
bcs-webconsole
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
bcs-bscp
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
bcs-bscp: bcs-services/bcs-bscp/test/unit/logs.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/vault-server/vault-sidecar/init.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/vault-server/vault-sidecar/server.go#L146
exported: comment on exported function HealthzHandler should be of the form "HealthzHandler ..." (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/vault-server/vault-sidecar/server.go#L38
var-declaration: should omit type string from declaration of var bindAddr; it will be inferred from the right-hand side (revive)
bcs-bscp: bcs-services/bcs-bscp/test/benchmark/case/api-server/repo.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/scripts/gen/main.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/data-service/db-migration/migrator/migrator.go#L33
exported: exported const GormMode should have comment (or a comment on this block) or be unexported (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/vault-server/service/gateway.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/data-service/db-migration/migrations/20230207215606_init_schema.go#L13
package-comments: should have a package comment (revive)
bcs-monitor
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2