diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 423e618..414fd49 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.18) + - SwiftFormat/CLI (0.49.1) - SwiftLint (0.45.1) DEPENDENCIES: @@ -29,7 +29,7 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: SwiftConfigurationFiles: - :commit: f6dea18948c1b667043964c2539b9008d2e6beed + :commit: 5e499075b42f5c986a6ad5a274cf8efa743337b5 :git: https://github.com/fxm90/SwiftConfigurationFiles.git SPEC CHECKSUMS: @@ -37,7 +37,7 @@ SPEC CHECKSUMS: LightweightObservable: c5ac85423a5edbed9a920b4d5c7b8f94ab3688c4 SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b SwiftConfigurationFiles: 1cf2228a911ebed9f42f8dec077bb634f04ca6c8 - SwiftFormat: 7dd2b33a0a3d61095b61c911b6d89ff962ae695c + SwiftFormat: 16b41f3229f5e7edb130ac4cd631cceed7af7d5e SwiftLint: 06ac37e4d38c7068e0935bb30cda95f093bec761 PODFILE CHECKSUM: 36b90780cb508f9eaca4f0ac59660e3e748de601 diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 423e618..414fd49 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.18) + - SwiftFormat/CLI (0.49.1) - SwiftLint (0.45.1) DEPENDENCIES: @@ -29,7 +29,7 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: SwiftConfigurationFiles: - :commit: f6dea18948c1b667043964c2539b9008d2e6beed + :commit: 5e499075b42f5c986a6ad5a274cf8efa743337b5 :git: https://github.com/fxm90/SwiftConfigurationFiles.git SPEC CHECKSUMS: @@ -37,7 +37,7 @@ SPEC CHECKSUMS: LightweightObservable: c5ac85423a5edbed9a920b4d5c7b8f94ab3688c4 SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b SwiftConfigurationFiles: 1cf2228a911ebed9f42f8dec077bb634f04ca6c8 - SwiftFormat: 7dd2b33a0a3d61095b61c911b6d89ff962ae695c + SwiftFormat: 16b41f3229f5e7edb130ac4cd631cceed7af7d5e SwiftLint: 06ac37e4d38c7068e0935bb30cda95f093bec761 PODFILE CHECKSUM: 36b90780cb508f9eaca4f0ac59660e3e748de601 diff --git a/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml b/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml index ae738ef..49222d7 100644 --- a/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml +++ b/Example/Pods/SwiftConfigurationFiles/.swiftlint.yml @@ -1,5 +1,8 @@ # # .swiftlint.yml +# +# This file enables [SwiftLint](https://github.com/realm/SwiftLint) rules, that are disabled by default. +# # Created by Felix Mau (https://felix.hamburg) # # Based on: @@ -11,6 +14,7 @@ opt_in_rules: - anyobject_protocol # Prefer using `AnyObject` over class for class-only protocols. - array_init # Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array. + - balanced_xctest_lifecycle # Test classes must implement balanced setUp and tearDown methods. - block_based_kvo # Prefer the new block based KVO API with keypaths when using Swift 3.2 or later. - closure_spacing # Closure expressions should have a single space inside each brace. - contains_over_filter_count # Prefer `contains` over comparing `filter(where:).count` to 0. @@ -43,6 +47,7 @@ opt_in_rules: - overridden_super_call # Some overridden methods should always call super - 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_subject # Combine Subject should be private. - 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()` diff --git a/Example/Pods/SwiftFormat/CommandLineTool/swiftformat b/Example/Pods/SwiftFormat/CommandLineTool/swiftformat index 9f3cd18..77234c1 100755 Binary files a/Example/Pods/SwiftFormat/CommandLineTool/swiftformat and b/Example/Pods/SwiftFormat/CommandLineTool/swiftformat differ diff --git a/Example/Pods/SwiftFormat/README.md b/Example/Pods/SwiftFormat/README.md index 7fae9e6..1f12e8a 100644 --- a/Example/Pods/SwiftFormat/README.md +++ b/Example/Pods/SwiftFormat/README.md @@ -243,7 +243,7 @@ let package = Package( name: "BuildTools", platforms: [.macOS(.v10_11)], dependencies: [ - .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.48.10"), + .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.49.0"), ], targets: [.target(name: "BuildTools", path: "")] ) @@ -274,7 +274,7 @@ You can also use `swift run -c release --package-path BuildTools swiftformat "$S 1. Add the `swiftformat` binary to your project directory via [CocoaPods](https://cocoapods.org/), by adding the following line to your Podfile then running `pod install`: ```ruby - pod 'SwiftFormat/CLI' + pod 'SwiftFormat/CLI', '~> 0.49' ``` **NOTE:** This will only install the pre-built command-line app, not the source code for the SwiftFormat framework.