Skip to content

✨ Normalize & Rewrite #22

✨ Normalize & Rewrite

✨ Normalize & Rewrite #22

Triggered via pull request November 26, 2024 16:04
Status Failure
Total duration 23s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Lint
Process completed with exit code 1.
Lint: Tests/LuminareTests/LuminareTests.swift#L2
Sort import statements alphabetically. (sortImports)
Lint: Tests/LuminareTests/LuminareTests.swift#L3
Sort import statements alphabetically. (sortImports)
Lint: Sources/Luminare/Utilities/StringFormatStyle.swift#L12
Remove trailing space at end of a line. (trailingSpace)
Lint: Sources/Luminare/Utilities/StringFormatStyle.swift#L99
Reposition let or var bindings within pattern. (hoistPatternLet)
Lint: Sources/Luminare/Utilities/StringFormatStyle.swift#L111
Remove trailing space at end of a line. (trailingSpace)
Lint: Sources/Luminare/Components/LuminareCompactPicker.swift#L93
Reposition let or var bindings within pattern. (hoistPatternLet)
Lint: Sources/Luminare/Components/LuminareCompactPicker.swift#L116
Use opaque generic parameters (some Protocol) instead of generic parameters with constraints (T where T: Protocol, etc) where equivalent. Also supports primary associated types for common standard library types, so definitions like T where T: Collection, T.Element == Foo are updated to some Collection<Foo>. (opaqueGenericParameters)
Lint: Sources/Luminare/Components/LuminareCompactPicker.swift#L117
Use opaque generic parameters (some Protocol) instead of generic parameters with constraints (T where T: Protocol, etc) where equivalent. Also supports primary associated types for common standard library types, so definitions like T where T: Collection, T.Element == Foo are updated to some Collection<Foo>. (opaqueGenericParameters)
Lint: Sources/Luminare/Components/LuminareCompactPicker.swift#L118
Use opaque generic parameters (some Protocol) instead of generic parameters with constraints (T where T: Protocol, etc) where equivalent. Also supports primary associated types for common standard library types, so definitions like T where T: Collection, T.Element == Foo are updated to some Collection<Foo>. (opaqueGenericParameters)
Lint: Sources/Luminare/Components/LuminareCompactPicker.swift#L256
Remove whitespace inside empty braces. (emptyBraces)