codeandtheory / ynetwork-ios

A networking layer for iOS and tvOS.
Apache License 2.0
3 stars 3 forks source link

Fix SwiftLint 0.51.0 warnings #14

Closed mpospese closed 1 year ago

mpospese commented 1 year ago

Intro

SwiftLint 0.51.0 now requires us to manually re-enable all rules disabled on the file level.

Task

  1. Add corresponding // swiftlint: enable rule_name comments at the end of all files that contain a disable entry (these are mostly test files)
  2. Update any instances of swiftlint:enable or swiftlint:disable with a version that has a single space immediately following the colon.

Make sure you're running the latest SwiftLint by running

brew install swiftlint

and test locally to make sure everything is fine.