ci: add swiftlint #67
Annotations
9 errors and 14 warnings
ubuntu-build
Process completed with exit code 1.
|
macos-build
Process completed with exit code 1.
|
swift-lint:
FlagsmithClient/Classes/Internal/FlagsmithAnalytics.swift#L23
Identifier Name Violation: Variable name 'EVENTS_KEY' should only contain alphanumeric and other allowed characters (identifier_name)
|
swift-lint:
FlagsmithClient/Tests/ComparableJson.swift#L26
Force Cast Violation: Force casts should be avoided (force_cast)
|
swift-lint:
FlagsmithClient/Tests/APIManagerTests.swift#L23
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
swift-lint:
FlagsmithClient/Tests/APIManagerTests.swift#L48
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
swift-lint:
FlagsmithClient/Tests/APIManagerTests.swift#L77
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
swift-lint:
Example/FlagsmithClient/AppDelegate.swift#L71
Line Length Violation: Line should be 200 characters or less; currently it has 281 characters (line_length)
|
swift-lint:
Example/FlagsmithClient/AppDelegate.swift#L76
Line Length Violation: Line should be 200 characters or less; currently it has 214 characters (line_length)
|
ubuntu-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ubuntu-build
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/
|
macos-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
macos-build
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/
|
swift-lint:
FlagsmithClient/Classes/Feature.swift#L19
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
swift-lint:
FlagsmithClient/Classes/Feature.swift#L24
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
swift-lint:
FlagsmithClient/Classes/Feature.swift#L30
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
swift-lint:
FlagsmithClient/Classes/Feature.swift#L25
Unneeded Synthesized Initializer Violation: This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
|
swift-lint:
FlagsmithClient/Classes/FlagsmithError.swift#L24
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
swift-lint:
FlagsmithClient/Classes/FlagsmithError.swift#L41
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
swift-lint:
FlagsmithClient/Classes/Flag.swift#L24
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
swift-lint:
FlagsmithClient/Classes/Flag.swift#L24
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
swift-lint:
FlagsmithClient/Classes/Flag.swift#L24
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
swift-lint:
FlagsmithClient/Classes/Flag.swift#L28
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|