Skip to content

Setup Apple Pay in cart checkout #1129

Setup Apple Pay in cart checkout

Setup Apple Pay in cart checkout #1129

Triggered via pull request January 30, 2025 09:22
Status Failure
Total duration 2m 25s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
License Headers
Process completed with exit code 1.
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/Extensions/Storefront.swift#L28
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 67 lines (function_body_length)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/AppConfiguration.swift#L39
Identifier Name Violation: Variable name 'ApplePayEnabled' should start with a lowercase character (identifier_name)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/StorefrontClient.swift#L195
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/ApplePay/ApplePayHandler.swift#L38
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/ApplePay/PassKitFactory.swift#L16
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/ApplePay/PassKitFactory.swift#L96
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/ApplePay/PassKitFactory.swift#L117
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/CartManager.swift#L221
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/CartManager.swift#L340
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
SwiftLint: Samples/MobileBuyIntegration/MobileBuyIntegration/CartManager.swift#L389
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)