Skip to content

Commit acdf58e

Browse files
committed
Adjust formatting of SwiftLint disable rule comments.
1 parent d470ec8 commit acdf58e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Sources/PusherConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22
import Reachability
33
import Starscream
44

5-
//swiftlint:disable file_length type_body_length
5+
// swiftlint:disable file_length type_body_length
66

77
@objcMembers
88
@objc open class PusherConnection: NSObject {

Sources/PusherSwift.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Starscream
33

44
let PROTOCOL = 7
55
let VERSION = "8.0.0"
6-
//swiftlint:disable:next identifier_name
6+
// swiftlint:disable:next identifier_name
77
let CLIENT_NAME = "pusher-websocket-swift"
88

99
@objcMembers

Tests/AuthenticationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import XCTest
22

3-
//swiftlint:disable nesting
3+
// swiftlint:disable nesting
44

55
#if WITH_ENCRYPTION
66
@testable import PusherSwiftWithEncryption

Tests/Mocks.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ open class MockWebSocket: WebSocket {
5757
)
5858
}
5959

60-
//swiftlint:disable:next function_body_length cyclomatic_complexity
60+
// swiftlint:disable:next function_body_length cyclomatic_complexity
6161
open override func write(string: String, completion: (() -> Void)? = nil) {
6262
if string == "{\"data\":{\"channel\":\"test-channel\"},\"event\":\"pusher:subscribe\"}" || string == "{\"event\":\"pusher:subscribe\",\"data\":{\"channel\":\"test-channel\"}}" {
6363
_ = stubber.stub(
@@ -295,7 +295,7 @@ public typealias Response = (data: Data?, urlResponse: URLResponse?, error: NSEr
295295

296296
public class MockSession: URLSession {
297297
static public var mockResponses: [String: Response] = [:]
298-
//swiftlint:disable:next large_tuple
298+
// swiftlint:disable:next large_tuple
299299
static public var mockResponse: (data: Data?, urlResponse: URLResponse?, error: NSError?) = (data: nil, urlResponse: nil, error: nil)
300300

301301
override public class var shared: URLSession {

Tests/PusherConnectionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import XCTest
22

3-
//swiftlint:disable nesting
3+
// swiftlint:disable nesting
44

55
#if WITH_ENCRYPTION
66
@testable import PusherSwiftWithEncryption

0 commit comments

Comments
 (0)