Skip to content

Filename validator (#83) #375

Filename validator (#83)

Filename validator (#83) #375

Triggered via push August 6, 2024 07:53
Status Failure
Total duration 2m 11s
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 uses Node.js version which is deprecated 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/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)
Lint: Sources/NextcloudKit/NKModel.swift#L518
Operator Usage Whitespace Violation: Operators should be surrounded by a single whitespace when they are being used (operator_usage_whitespace)
Lint: Sources/NextcloudKit/NextcloudKit+API.swift#L326
Comma Spacing Violation: There should be no space before and one after any comma (comma)
Lint: Sources/NextcloudKit/NextcloudKit+API.swift#L326
Comma Spacing Violation: There should be no space before and one after any comma (comma)
Lint: Sources/NextcloudKit/NextcloudKit+API.swift#L351
Comma Spacing Violation: There should be no space before and one after any comma (comma)