Skip to content

Update: add bcs-lint.yml #7

Update: add bcs-lint.yml

Update: add bcs-lint.yml #7

Triggered via pull request September 18, 2023 03:40
Status Success
Total duration 2m 30s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 30 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-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-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-webconsole
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
bcs-webconsole: bcs-services/bcs-webconsole/console/tracing/constants.go#L17
exported: exported const ServiceName should have comment (or a comment on this block) or be unexported (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/tracing/constants.go#L14
package-comments: should have a package comment (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/tracing/http_tracing.go#L32
exported: type name will be used as tracing.TracingTransport by other packages, and that is repetitive; consider calling this Transport (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/types/types.go#L36
exported: exported const MaxSessionTimeout should have comment (or a comment on this block) or be unexported (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/components/client.go#L14
package-comments: should have a package comment (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/components/bcs/bcs.go#L34
exported: type name will be used as bcs.BCSTokenUserType by other packages, and that is repetitive; consider calling this TokenUserType (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/components/iam/iam.go#L14
package-comments: should have a package comment (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/audit/asciinema/asciinema.go#L13
package-comments: should have a package comment (revive)
bcs-webconsole: bcs-services/bcs-webconsole/console/audit/asciinema/asciinema.go#L36
exported: exported const OutputEvent should have comment (or a comment on this block) or be unexported (revive)
bcs-monitor
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
bcs-monitor: bcs-services/bcs-monitor/pkg/tracing/http_tracing.go#L14
package-comments: should have a package comment (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/tracing/http_tracing.go#L39
exported: type name will be used as tracing.TracingTransport by other packages, and that is repetitive; consider calling this Transport (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/component/client.go#L14
package-comments: should have a package comment (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/query/query.go#L45
exported: type name will be used as query.QueryAPI by other packages, and that is repetitive; consider calling this API (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/component/bk_log/bk_log.go#L14
package-comments: should have a package comment (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/storage/entity/entity.go#L14
package-comments: should have a package comment (revive)
bcs-monitor: bcs-services/bcs-monitor/test/bcs_monitor_query/main.go#L13
package-comments: should have a package comment (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/storage/logrule/logrule.go#L14
package-comments: should have a package comment (revive)
bcs-monitor: bcs-services/bcs-monitor/pkg/storage/logindex/logindex.go#L14
package-comments: should have a package comment (revive)
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/pkg/iam/meta/action.go#L25
exported: comment on exported const FindBusinessResource should be of the form "FindBusinessResource ..." (revive)
bcs-bscp: bcs-services/bcs-bscp/pkg/iam/meta/meta.go#L99
exported: comment on exported function DecisionsMap should be of the form "DecisionsMap ..." (revive)
bcs-bscp: bcs-services/bcs-bscp/pkg/criteria/enumor/audit.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/pkg/rest/view/modifier/modifier.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/data-service/db-migration/embed_sql.go#L17
exported: comment on exported var SQLFiles should be of the form "SQLFiles ..." (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/data-service/db-migration/embed_sql.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/pkg/criteria/constant/env.go#L13
package-comments: should have a package comment (revive)
bcs-bscp: bcs-services/bcs-bscp/pkg/criteria/constant/key.go#L97
exported: exported const AuthLoginProviderKey should have comment (or a comment on this block) or be unexported (revive)
bcs-bscp: bcs-services/bcs-bscp/cmd/cache-service/service/cache/keys/lock.go#L62
exported: comment on exported method resKind.CredentialMatchedCI should be of the form "CredentialMatchedCI ..." (revive)