Skip to content

chore: V2 UI rules #10746

chore: V2 UI rules

chore: V2 UI rules #10746

Triggered via pull request February 5, 2025 20:28
Status Failure
Total duration 2m 47s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

24 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/flagsApi.ts#L101
'i' is defined but never used. Allowed unused args must match /^_/u
Lint UI: ui/src/app/namespaces/Namespaces.tsx#L14
'useListNamespacesQuery' is defined but never used
Lint UI: ui/src/components/flags/FlagForm.tsx#L20
'IFlagBase' is defined but never used
Lint UI: ui/src/components/flags/FlagForm.tsx#L31
'Rollouts' is defined but never used
Lint UI: ui/src/components/flags/FlagForm.tsx#L187
'rollouts' is assigned a value but never used
Lint UI: ui/src/components/namespaces/NamespaceTable.tsx#L171
'row' is missing in props validation
Lint UI: ui/src/components/rules/SortableRule.tsx#L2
'IEvaluatable' is defined but never used
Lint UI: ui/src/components/rules/forms/RuleForm.tsx#L5
'useSelector' is defined but never used
Lint UI: ui/src/components/rules/forms/RuleForm.tsx#L8
'selectCurrentNamespace' is defined but never used
Lint UI: ui/src/components/variants/VariantForm.tsx#L28
'flagKey' is assigned a value but never used
Lint Go: internal/server/ofrep/evaluation_test.go#L41
cannot use store (variable of type *common.StoreMock) as Storer value in argument to New: *common.StoreMock does not implement Storer (wrong type for method ListFlags)
Lint Go: internal/server/ofrep/evaluation_test.go#L84
cannot use store (variable of type *common.StoreMock) as Storer value in argument to New: *common.StoreMock does not implement Storer (wrong type for method ListFlags)
Lint Go: internal/server/ofrep/evaluation_test.go#L153
cannot use store (variable of type *common.StoreMock) as Storer value in argument to New: *common.StoreMock does not implement Storer (wrong type for method ListFlags)
Lint Go: internal/server/ofrep/evaluation_test.go#L179
cannot use store (variable of type *common.StoreMock) as Storer value in argument to New: *common.StoreMock does not implement Storer (wrong type for method ListFlags)
Lint Go: internal/server/ofrep/extensions_test.go#L36
cannot use store (variable of type *common.StoreMock) as Storer value in argument to New: *common.StoreMock does not implement Storer (wrong type for method ListFlags)
Lint Go: internal/storage/fs/local/store_test.go#L64
s.GetNamespace undefined (type storage.ReadOnlyStore has no field or method GetNamespace) (typecheck)
Lint Go
issues found
Lint UI: ui/src/components/flags/FlagForm.tsx#L31
import statements should have an absolute path
Lint UI: ui/src/components/flags/FlagForm.tsx#L32
import statements should have an absolute path