chore: V2 UI segments #10762
lint.yml
on: pull_request
Lint Go
1m 49s
Lint Markdown
3s
Lint UI
26s
Go Mod Tidy
22s
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/storage/authn/memory/store.go#L297
func `isExpired` is unused (unused)
|
Lint Go:
internal/config/credentials.go#L37
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
Lint Go:
internal/config/credentials.go#L22
(*CredentialsConfig).setDefaults - result 0 (error) is always nil (unparam)
|
Lint Go:
internal/storage/git/repository.go#L486
offBy1: Index() can return -1; maybe you wanted to do Index()+1 (gocritic)
|
Lint Go:
internal/storage/git/metrics.go#L108
func `repoMetrics.recordListCommits` is unused (unused)
|
Lint Go:
internal/storage/environments/git/store.go#L38
field `mu` is unused (unused)
|
Lint Go:
cmd/flipt/server.go#L14
func `fliptSDK` is unused (unused)
|
Lint Go:
cmd/flipt/validate.go#L92
ineffectual assignment to err (ineffassign)
|
Lint Go:
internal/storage/fs/snapshot.go#L632
ST1016: methods on the same type should have the same receiver name (seen 1x "s", 9x "ss") (stylecheck)
|
Lint Go:
internal/storage/environments/fs/environment.go#L111
ST1016: methods on the same type should have the same receiver name (seen 4x "e", 7x "s") (stylecheck)
|
Lint UI:
ui/src/app/segments/Segment.tsx#L43
import statements should have an absolute path
|