Эх сурвалжийг харах

Removed function_body_length from .swiftlint.yml and disabled it in the only test file that breaks the default 40 line limit

Andrea Bizzotto 8 жил өмнө
parent
commit
c76269c4c2

+ 1 - 4
.swiftlint.yml

@@ -5,9 +5,6 @@
 disabled_rules:
 - line_length
 
-
-
 # configurable rules can be customized from this configuration file
 line_length: 250
-function_body_length:
-  warning: 50
+

+ 2 - 0
SwiftyStoreKitTests/PaymentQueueControllerTests.swift

@@ -22,6 +22,8 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
+// swiftlint:disable function_body_length
+
 import XCTest
 import StoreKit
 @testable import SwiftyStoreKit