diff --git a/Example/Podfile.lock b/Example/Podfile.lock index f26e305..6c47624 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -4,7 +4,7 @@ PODS: - LightweightObservable (2.1.2) - SnapshotTesting (1.9.0) - SwiftConfigurationFiles (0.0.1) - - SwiftFormat/CLI (0.48.10) + - SwiftFormat/CLI (0.48.11) - SwiftLint (0.43.1) DEPENDENCIES: @@ -29,7 +29,7 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: SwiftConfigurationFiles: - :commit: 349e9f3eba24551acb372397ca953b5414bd9131 + :commit: f6dea18948c1b667043964c2539b9008d2e6beed :git: https://github.com/fxm90/SwiftConfigurationFiles.git SPEC CHECKSUMS: @@ -37,7 +37,7 @@ SPEC CHECKSUMS: LightweightObservable: c5ac85423a5edbed9a920b4d5c7b8f94ab3688c4 SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b SwiftConfigurationFiles: 1cf2228a911ebed9f42f8dec077bb634f04ca6c8 - SwiftFormat: 159f1c73ade21744d6ff3276fc3413be4fc81f6b + SwiftFormat: 938e5865a118c49d63c7a290ddad86335f9e585f SwiftLint: 99f82d07b837b942dd563c668de129a03fc3fb52 PODFILE CHECKSUM: 36b90780cb508f9eaca4f0ac59660e3e748de601 diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index f26e305..6c47624 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -4,7 +4,7 @@ PODS: - LightweightObservable (2.1.2) - SnapshotTesting (1.9.0) - SwiftConfigurationFiles (0.0.1) - - SwiftFormat/CLI (0.48.10) + - SwiftFormat/CLI (0.48.11) - SwiftLint (0.43.1) DEPENDENCIES: @@ -29,7 +29,7 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: SwiftConfigurationFiles: - :commit: 349e9f3eba24551acb372397ca953b5414bd9131 + :commit: f6dea18948c1b667043964c2539b9008d2e6beed :git: https://github.com/fxm90/SwiftConfigurationFiles.git SPEC CHECKSUMS: @@ -37,7 +37,7 @@ SPEC CHECKSUMS: LightweightObservable: c5ac85423a5edbed9a920b4d5c7b8f94ab3688c4 SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b SwiftConfigurationFiles: 1cf2228a911ebed9f42f8dec077bb634f04ca6c8 - SwiftFormat: 159f1c73ade21744d6ff3276fc3413be4fc81f6b + SwiftFormat: 938e5865a118c49d63c7a290ddad86335f9e585f SwiftLint: 99f82d07b837b942dd563c668de129a03fc3fb52 PODFILE CHECKSUM: 36b90780cb508f9eaca4f0ac59660e3e748de601 diff --git a/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml b/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml index e56916a..ae738ef 100644 --- a/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml +++ b/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml @@ -5,6 +5,7 @@ # Based on: # - https://gist.github.com/tweetjay/1b7f00b6f312a5a2cf7b5676420b9b0c # - https://github.com/brandenr/swiftlintconfig +# - https://www.avanderlee.com/optimization/swiftlint-optin-rules/ # opt_in_rules: @@ -15,23 +16,27 @@ opt_in_rules: - contains_over_filter_count # Prefer `contains` over comparing `filter(where:).count` to 0. - contains_over_filter_is_empty # Prefer `contains` over using `filter(where:).isEmpty`. - contains_over_first_not_nil # Prefer `contains` over `first(where:) != nil` and `firstIndex(where:) != nil`. + - convenience_type # Types used for hosting only static members should be implemented as a caseless enum to avoid instantiation. - empty_collection_literal # Prefer checking `isEmpty` over comparing collection to an empty array or dictionary literal. - empty_count # Prefer checking `isEmpty` over comparing count to zero. - empty_parameters # Prefer `() ->` over `Void ->`. - empty_string # Prefer checking `isEmpty` over comparing string to an empty string literal. - empty_xctest_method # Empty XCTest method should be avoided. - explicit_init # Explicitly calling .init() should be avoided. + - fallthrough # Fallthrough should be avoided. - fatal_error_message # A fatalError call should have a message. - file_header # Header comments should be consistent with project patterns. - first_where # Prefer using `.first(where:)` over `.filter { }.first` in collections. - for_where # `where` clauses are preferred over a single `if` inside a `for`. - force_unwrapping # Force unwrapping should be avoided. + - identical_operands # Comparing two identical operands is likely a mistake. - is_disjoint # Prefer using `Set.isDisjoint(with:)` over `Set.intersection(_:).isEmpty`. - last_where # Prefer using `.last(where:)` over `.filter { }.last` in collections. - legacy_multiple # Prefer using the `isMultiple(of:)` function instead of using the remainder operator (`%`). - legacy_random # Prefer using `type.random(in:)` over legacy functions, e.g. `arc4random()`. - lower_acl_than_parent # Ensure definitions have a lower access control level than their enclosing parent. - missing_docs # Declarations should be documented. + - modifier_order # Modifier order should be consistent. - object_literal # Prefer object literals over image and color inits. - operator_usage_whitespace # Operators should be surrounded by a single whitespace when they are being used. - optional_enum_case_matching # Matching an enum case against an optional enum without ‘?’. @@ -39,9 +44,11 @@ opt_in_rules: - prefer_self_type_over_type_of_self # Prefer `Self` over `type(of: self)` when accessing properties or calling methods. - prefer_zero_over_explicit_init # Prefer `.zero` over explicit init with zero parameters (e.g. `CGPoint(x: 0, y: 0)`). - private_outlet # IBOutlets should be private to avoid leaking UIKit to higher layers. + - private_action # IBActions should be private. - prohibited_super_call # Some methods should not call super, e.g. `UIViewController.loadView()` - sorted_first_last # Prefer using `min()` or `max()` over `sorted().first` or `sorted().last` - toggle_bool # Prefer `someBool.toggle()` over `someBool = !someBool`. + - unavailable_function # Unimplemented functions should be marked as unavailable. - unused_import # All imported modules should be required to make the file compile. - unused_optional_binding # Prefer `!= nil` over `let _ =` - unused_declaration # Declarations should be referenced at least once within all files linted. diff --git a/Example/Pods/SwiftFormat/CommandLineTool/swiftformat b/Example/Pods/SwiftFormat/CommandLineTool/swiftformat index 358593e..b1e90a0 100755 Binary files a/Example/Pods/SwiftFormat/CommandLineTool/swiftformat and b/Example/Pods/SwiftFormat/CommandLineTool/swiftformat differ