Skip to content

added swiftlint

added swiftlint #6

Triggered via push May 26, 2024 12:20
Status Failure
Total duration 29s
Artifacts

swift.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
lint
Process completed with exit code 1.
build
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: Package.swift#L12
Add or remove trailing comma from the last item in a collection literal. (trailingCommas)
lint: Package.swift#L12
Align wrapped function arguments or collection elements. (wrapArguments)
lint: Package.swift#L19
Add or remove trailing comma from the last item in a collection literal. (trailingCommas)
lint: Package.swift#L19
Align wrapped function arguments or collection elements. (wrapArguments)
lint: Sources/CircuitBreaker/CircuitBreakerGroup.swift#L4
Remove leading blank line at the start of a scope. (blankLinesAtStartOfScope)
lint: Sources/CircuitBreaker/CircuitBreakerGroup.swift#L44
Remove whitespace inside empty braces. (emptyBraces)
lint: Sources/CircuitBreaker/CircuitBreakerGroup.swift#L45
Remove whitespace inside empty braces. (emptyBraces)
lint: Sources/CircuitBreaker/CircuitBreakerGroup.swift#L46
Remove whitespace inside empty braces. (emptyBraces)
lint: Sources/CircuitBreaker/CircuitBreaker.swift#L10
Indent code in accordance with the scope level. (indent)
lint: Sources/CircuitBreaker/CircuitBreaker.swift#L11
Indent code in accordance with the scope level. (indent)