ci: add swiftlint #65
Annotations
7 errors and 10 warnings
Run SwiftLint:
FlagsmithClient/Classes/Internal/FlagsmithAnalytics.swift#L23
Identifier Name Violation: Variable name 'EVENTS_KEY' should only contain alphanumeric and other allowed characters (identifier_name)
|
Run SwiftLint:
FlagsmithClient/Tests/ComparableJson.swift#L26
Force Cast Violation: Force casts should be avoided (force_cast)
|
Run SwiftLint:
FlagsmithClient/Tests/APIManagerTests.swift#L23
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
Run SwiftLint:
FlagsmithClient/Tests/APIManagerTests.swift#L48
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
Run SwiftLint:
FlagsmithClient/Tests/APIManagerTests.swift#L77
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
Run SwiftLint:
Example/FlagsmithClient/AppDelegate.swift#L71
Line Length Violation: Line should be 200 characters or less; currently it has 281 characters (line_length)
|
Run SwiftLint:
Example/FlagsmithClient/AppDelegate.swift#L76
Line Length Violation: Line should be 200 characters or less; currently it has 214 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Feature.swift#L19
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Run SwiftLint:
FlagsmithClient/Classes/Feature.swift#L24
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Run SwiftLint:
FlagsmithClient/Classes/Feature.swift#L30
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Run SwiftLint:
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)
|
Run SwiftLint:
FlagsmithClient/Classes/FlagsmithError.swift#L24
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Run SwiftLint:
FlagsmithClient/Classes/FlagsmithError.swift#L41
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
|
Run SwiftLint:
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)
|
Run SwiftLint:
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)
|
Run SwiftLint:
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)
|
Run SwiftLint:
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)
|
Loading