A recent swiftlint update (0.31.0 or 0.32.0) and/or new examples added a bunch of new warnings to this project that we need to resolve. Here’s a sampling:
ios-sdk-examples/Examples/Swift/MissingIconsExample.swift:7: Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
ios-sdk-examples/Examples/Swift/MissingIconsExample.swift:45: Redundant Void Return Violation: Returning Void in a function declaration is redundant. (redundant_void_return)
ios-sdk-examples/Examples/Swift/MissingIconsExample.swift:23: Trailing Semicolon Violation: Lines should not have trailing semicolons. (trailing_semicolon)
ios-sdk-examples/Examples/Swift/MissingIconsExample.swift:13: Todo Violation: TODOs should be resolved (This is a test case, it should...). (todo)
ios-sdk-examples/Examples/Swift/TextFormattingExample.swift:37: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
A recent swiftlint update (
0.31.0
or0.32.0
) and/or new examples added a bunch of new warnings to this project that we need to resolve. Here’s a sampling:@captainbarbosa @mapbox/maps-ios