chore: add swiftlint GH action #2
Annotations
10 errors and 10 warnings
AmplifyTestApp/AppDelegate.swift#L21
Line should be 160 characters or less; currently it has 285 characters (line_length)
|
AmplifyTestApp/AppDelegate.swift#L26
Line should be 160 characters or less; currently it has 218 characters (line_length)
|
AmplifyTestApp/AppDelegate.swift#L35
Line should be 160 characters or less; currently it has 194 characters (line_length)
|
AmplifyTests/CoreTests/AmplifyAsyncSequenceTests.swift#L344
Line should be 160 characters or less; currently it has 191 characters (line_length)
|
AmplifyTests/CoreTests/Operations/LongOperation.swift#L15
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
AmplifyTests/CoreTests/Operations/LongOperation.swift#L20
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
AmplifyTests/CoreTests/Operations/FastOperation.swift#L15
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
AmplifyTests/CoreTests/Operations/FastOperation.swift#L18
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
AmplifyTests/CoreTests/AmplifyPublisherTests.swift#L230
Force casts should be avoided (force_cast)
|
AmplifyTests/CoreTests/Tasks/InternalTasks.swift#L12
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
AmplifyTools/AmplifyXcode/Tests/AmplifyXcodeCoreTests/Mocks/MockAmplifyCommandEnvironment.swift#L17
TODOs should be resolved (how can we re-use initializer?) (todo)
|
AmplifyTools/AmplifyXcode/Tests/AmplifyXcodeCoreTests/Commands/CommandImportConfigTests.swift#L19
This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
|
AmplifyTools/AmplifyXcode/Tests/AmplifyXcodeCoreTests/Commands/CommandImportConfigTests.swift#L35
An XCTFail call should include a description of the assertion (xctfail_message)
|
AmplifyTools/AmplifyXcode/Tests/AmplifyXcodeCoreTests/Commands/CommandImportModelsTests.swift#L21
This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
|
AmplifyTools/AmplifyXcode/Tests/AmplifyXcodeCoreTests/Commands/CommandImportConfigTasksTests.swift#L40
An XCTFail call should include a description of the assertion (xctfail_message)
|
AmplifyTools/AmplifyXcode/Tests/AmplifyXcodeCoreTests/Commands/CommandImportConfigTasksTests.swift#L63
An XCTFail call should include a description of the assertion (xctfail_message)
|
AmplifyTools/AmplifyXcode/Sources/AmplifyXcodeCore/Commands/CommandImportConfig.swift#L27
`where` clauses are preferred over a single `if` inside a `for` (for_where)
|
AmplifyTools/AmplifyXcode/Sources/AmplifyXcodeCore/Commands/AmplifyCommandTask.swift#L12
Line should be 120 characters or less; currently it has 121 characters (line_length)
|
AmplifyTestApp/ViewController.swift#L12
Remove overridden functions that don't do anything except call their super (unneeded_override)
|
AmplifyTestApp/AppDelegate.swift#L15
Line should be 120 characters or less; currently it has 145 characters (line_length)
|
The logs for this run have expired and are no longer available.
Loading