Skip to content

Commit 1053113

Browse files
author
Daniel Browne
committed
Enable 'sorted_imports' SwiftLint rule
1 parent 5e625c4 commit 1053113

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ opt_in_rules:
1111
- explicit_init
1212
- modifier_order
1313
- prefer_self_type_over_type_of_self
14+
- sorted_imports
1415
- vertical_whitespace_between_cases
1516
- vertical_whitespace_closing_braces
1617

Sources/Helpers/PusherCrypto.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Foundation
21
import CommonCrypto
2+
import Foundation
33

44
struct PusherCrypto {
55

Tests/Helpers/Mocks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
2-
import NWWebSocket
32
import Network
3+
import NWWebSocket
44

55
@testable import PusherSwift
66

iOS Example Swift/iOS Example Swift/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// iOS Example
44
//
55

6-
import UIKit
76
import PusherSwift
7+
import UIKit
88

99
class ViewController: UIViewController, PusherDelegate {
1010
var pusher: Pusher! = nil

0 commit comments

Comments
 (0)