Skip to content

chore: V2 UI segments #10761

chore: V2 UI segments

chore: V2 UI segments #10761

Triggered via pull request February 6, 2025 19:26
Status Failure
Total duration 2m 21s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 1 warning
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/flagsApi.ts#L10
'IVariant' 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/flags/FlagForm.tsx#L20
'Rollouts' is defined but never used
Lint UI: ui/src/components/flags/FlagForm.tsx#L192
'rollouts' is assigned a value but never used
Lint UI: ui/src/components/namespaces/NamespaceTable.tsx#L173
'row' is missing in props validation
Lint UI: ui/src/components/segments/SegmentTable.tsx#L3
'Row' is defined but never used
Lint UI: ui/src/components/variants/VariantForm.tsx#L31
'flagKey' is assigned a value but never used
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/app/segments/Segment.tsx#L43
import statements should have an absolute path