Skip to content

Merge remote-tracking branch 'origin/main' into develop #378

Merge remote-tracking branch 'origin/main' into develop

Merge remote-tracking branch 'origin/main' into develop #378

Triggered via push August 13, 2024 12:10
Status Failure
Total duration 1m 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
Lint: Sources/NextcloudKit/NKCommon.swift#L112
Identifier Name Violation: Variable name '_user' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L113
Identifier Name Violation: Variable name '_userId' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L114
Identifier Name Violation: Variable name '_password' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L115
Identifier Name Violation: Variable name '_account' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L116
Identifier Name Violation: Variable name '_urlBase' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L117
Identifier Name Violation: Variable name '_userAgent' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L118
Identifier Name Violation: Variable name '_nextcloudVersion' should only contain alphanumeric and other allowed characters (identifier_name)
Lint: Sources/NextcloudKit/NKCommon.swift#L119
Identifier Name Violation: Variable name '_groupIdentifier' should only contain alphanumeric and other allowed characters (identifier_name)
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint: Sources/NextcloudKit/Extensions/Image+Extension.swift#L103
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
Lint: Sources/NextcloudKit/NextcloudKit+Hovercard.swift#L73
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Lint: Sources/NextcloudKit/NextcloudKit+Assistant.swift#L282
Explicit Init Violation: Explicitly calling .init() should be avoided (explicit_init)
Lint: Sources/NextcloudKit/NextcloudKit+Assistant.swift#L285
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
Lint: Sources/NextcloudKit/NKModel.swift#L610
Function Body Length Violation: Function body should span 200 lines or less excluding comments and whitespace: currently spans 223 lines (function_body_length)
Lint: Sources/NextcloudKit/NKModel.swift#L365
Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used (operator_usage_whitespace)
Lint: Sources/NextcloudKit/NKModel.swift#L389
Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used (operator_usage_whitespace)
Lint: Sources/NextcloudKit/NKModel.swift#L404
Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used (operator_usage_whitespace)
Lint: Sources/NextcloudKit/NKModel.swift#L432
Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used (operator_usage_whitespace)
Lint: Sources/NextcloudKit/NKModel.swift#L460
Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used (operator_usage_whitespace)