mapbox/vision-ios-examples

Update linter versions/configs for `vision-ios-examples`

Closed this issue · 0 comments

Description

We have a configuration for SwiftLint that is compatible with 0.32.0.
In the latest versions (0.33.0+) of SwiftLint some rules were removed/added.

Also as we agreed to strip file headers from source files, corresponding "fileHeader" rule were enabled in SwiftFormat.

Goal

To have the latest configuration that meets our needs.

Steps

  • Update swiftlint:
    • Remove weak_computed_property
    • Add rules which were introduced.
  • Update swift format
    • Enable fileHeader rule
  • Tested and acceptance criteria is matched (result matches the goal)