소스 검색

Update the Swiftlint rules

Victor Sigler 5 년 전
부모
커밋
0d338b29ec
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      XCode/LinuxMain.swift
  2. 1 1
      XCode/Tests/SwifterTestsHttpParser.swift
  3. 1 1
      XCode/Tests/SwifterTestsWebSocketSession.swift

+ 0 - 1
XCode/LinuxMain.swift

@@ -1,5 +1,4 @@
 import XCTest
-
 import SwifterTests
 
 var tests = [XCTestCaseEntry]()

+ 1 - 1
XCode/Tests/SwifterTestsHttpParser.swift

@@ -50,7 +50,7 @@ class SwifterTestsHttpParser: XCTestCase {
         }
     }
 
-    // swiftlint:disable function_body_length
+    // swiftlint:disable function_body_length cyclomatic_complexity
     func testParser() {
         let parser = HttpParser()
 

+ 1 - 1
XCode/Tests/SwifterTestsWebSocketSession.swift

@@ -29,7 +29,7 @@ class SwifterTestsWebSocketSession: XCTestCase {
         }
     }
 
-    // swiftlint:disable function_body_length
+    // swiftlint:disable function_body_length cyclomatic_complexity
     func testParser() {
 
         do {