Ci/add swift lint and swiftformat #70
Annotations
7 errors and 10 warnings
Run SwiftLint:
FlagsmithClient/Classes/Internal/FlagsmithAnalytics.swift#L22
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#L22
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
Run SwiftLint:
FlagsmithClient/Tests/APIManagerTests.swift#L47
Identifier Name Violation: Variable name 'e' should be between 3 and 40 characters long (identifier_name)
|
Run SwiftLint:
FlagsmithClient/Tests/APIManagerTests.swift#L76
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#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/Flag.swift#L24
Line Length Violation: Line should be 120 characters or less; currently it has 133 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L25
Line Length Violation: Line should be 120 characters or less; currently it has 162 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L28
Line Length Violation: Line should be 120 characters or less; currently it has 135 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L29
Line Length Violation: Line should be 120 characters or less; currently it has 164 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L32
Line Length Violation: Line should be 120 characters or less; currently it has 131 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L33
Line Length Violation: Line should be 120 characters or less; currently it has 160 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L36
Line Length Violation: Line should be 120 characters or less; currently it has 137 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L37
Line Length Violation: Line should be 120 characters or less; currently it has 166 characters (line_length)
|
Run SwiftLint:
FlagsmithClient/Classes/Flag.swift#L41
Line Length Violation: Line should be 120 characters or less; currently it has 151 characters (line_length)
|
Loading