Skip to content

chore: V2 UI rollouts #10769

chore: V2 UI rollouts

chore: V2 UI rollouts #10769

Triggered via pull request February 7, 2025 21:25
Status Failure
Total duration 2m 30s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 warnings
Unordered list indentation: PLAN.md#L41
PLAN.md:41:1 MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md
Unordered list indentation: PLAN.md#L42
PLAN.md:42:1 MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md
Unordered list indentation: PLAN.md#L43
PLAN.md:43:1 MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md
Unordered list indentation: PLAN.md#L44
PLAN.md:44:1 MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md
Unordered list indentation: PLAN.md#L46
PLAN.md:46:1 MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md
Unordered list indentation: PLAN.md#L47
PLAN.md:47:1 MD007/ul-indent Unordered list indentation [Expected: 2; Actual: 4] https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md007.md
Lint Markdown
Failed with exit code: 1
Lint UI: ui/src/app/flags/rules/Rules.tsx#L20
'uuid' is defined but never used
Lint UI: ui/src/app/namespaces/Namespaces.tsx#L17
'useListNamespacesQuery' is defined but never used
Lint UI: ui/src/components/namespaces/NamespaceTable.tsx#L173
'row' is missing in props validation
Lint UI
Process completed with exit code 1.
Lint Go: internal/config/credentials.go#L37
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Lint Go: internal/storage/git/repository.go#L486
offBy1: Index() can return -1; maybe you wanted to do Index()+1 (gocritic)
Lint Go: internal/config/credentials.go#L22
(*CredentialsConfig).setDefaults - result 0 (error) is always nil (unparam)
Lint Go: internal/server/environments/server.go#L268
func `ensureFullURL` is unused (unused)
Lint Go: internal/storage/authn/memory/store.go#L297
func `isExpired` is unused (unused)
Lint Go: internal/storage/analytics/file.go#L8
type `fileInfo` is unused (unused)
Lint Go: internal/storage/analytics/file.go#L10
func `fileInfo.Name` is unused (unused)
Lint Go: internal/storage/analytics/file.go#L14
func `fileInfo.Size` is unused (unused)
Lint Go: internal/storage/analytics/file.go#L18
func `fileInfo.Mode` is unused (unused)
Lint Go: internal/storage/analytics/file.go#L22
func `fileInfo.ModTime` is unused (unused)
Lint UI: ui/src/components/constraints/Constraints.tsx#L20
import statements should have an absolute path
Lint UI: ui/src/components/rollouts/Rollouts.tsx#L43
import statements should have an absolute path