Implement security code component UI #323
check-pr.yml
on: pull_request
SwiftLint
31s
Checkout Verification
0s
Frames Verification
0s
Run UI Tests
0s
Annotations
2 errors and 10 warnings
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponent.swift#L54
Empty Count Violation: Prefer checking `isEmpty` over comparing `count` to zero (empty_count)
|
SwiftLint
Process completed with exit code 2.
|
Lint error:
Source/UI/PaymentForm/ViewModel/DefaultPaymentViewModel.swift#L79
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentConfiguration.swift#L28
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentConfiguration.swift#L36
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentStyle.swift#L26
Vertical Parameter Alignment Violation: Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentStyle.swift#L27
Vertical Parameter Alignment Violation: Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentStyle.swift#L28
Vertical Parameter Alignment Violation: Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentStyle.swift#L29
Vertical Parameter Alignment Violation: Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponentStyle.swift#L30
Vertical Parameter Alignment Violation: Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponent.swift#L12
Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible (implicitly_unwrapped_optional)
|
Lint error:
Source/UI/SecurityCodeComponent/SecurityCodeComponent.swift#L14
Implicitly Unwrapped Optional Violation: Implicitly unwrapped optionals should be avoided when possible (implicitly_unwrapped_optional)
|