Skip to content

Add swiftlint local and github #6

Add swiftlint local and github

Add swiftlint local and github #6

Triggered via pull request November 30, 2023 22:56
@pacupacu
synchronize #21
swiftlint
Status Failure
Total duration 41s
Artifacts

swiftlint.yml

on: pull_request
SwiftLint
32s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
SwiftLint: Tests/zcash-swift-payment-uriTests/ZIP321Tests.swift#L4
Type Name Violation: Type name 'zcash_swift_payment_uriTests' should only contain alphanumeric and other allowed characters (type_name)
SwiftLint: Sources/zcash-swift-payment-uri/ZIP321.swift#L49
Comma Spacing Violation: There should be no space before and one after any comma (comma)
SwiftLint: Sources/zcash-swift-payment-uri/ZIP321.swift#L52
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
SwiftLint: Sources/zcash-swift-payment-uri/ZIP321.swift#L21
Vertical Whitespace Violation: Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
SwiftLint: Tests/zcash-swift-payment-uriTests/EncodingTests.swift#L93
Line Length Violation: Line should be 150 characters or less; currently it has 156 characters (line_length)
SwiftLint: Tests/zcash-swift-payment-uriTests/EncodingTests.swift#L50
Vertical Whitespace before Closing Braces Violation: Don't include vertical whitespace (empty line) before closing braces (vertical_whitespace_closing_braces)
SwiftLint: Sources/zcash-swift-payment-uri/Model.swift#L45
Indentation Width Violation: Code should be indented using one tab or 4 spaces (indentation_width)
SwiftLint: Sources/zcash-swift-payment-uri/Model.swift#L225
Indentation Width Violation: Code should be indented using one tab or 4 spaces (indentation_width)
SwiftLint: Sources/zcash-swift-payment-uri/Model.swift#L224
Multiline Arguments Violation: Arguments should be either on the same line, or one per line (multiline_arguments)
SwiftLint: Sources/zcash-swift-payment-uri/Model.swift#L224
Multiline Arguments Brackets Violation: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
SwiftLint: Sources/zcash-swift-payment-uri/Render.swift#L18
TODO Violation: TODO or FIXME without issue number. Format TODO: [#...] (todos)