From 70e22a0c0afe714c6133cbfcc25e56dffdea9c39 Mon Sep 17 00:00:00 2001 From: Sho Ikeda Date: Fri, 6 Jul 2018 09:55:15 +0900 Subject: [PATCH] Tweak .swiftlint.yml for `stashed_swift_reportFatalErrorsToDebugger` variable --- .swiftlint.yml | 3 +++ Sources/Nimble/Adapters/NimbleXCTestHandler.swift | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index caae28055..5802f170b 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -19,6 +19,7 @@ line_length: ignores_function_declarations: true identifier_name: + max_length: 50 excluded: - x - l @@ -27,3 +28,5 @@ identifier_name: - n1 - n2 - to + allowed_symbols: + - _ diff --git a/Sources/Nimble/Adapters/NimbleXCTestHandler.swift b/Sources/Nimble/Adapters/NimbleXCTestHandler.swift index 4be22e12d..de3844b42 100644 --- a/Sources/Nimble/Adapters/NimbleXCTestHandler.swift +++ b/Sources/Nimble/Adapters/NimbleXCTestHandler.swift @@ -42,7 +42,6 @@ class NimbleXCTestUnavailableHandler: AssertionHandler { private(set) var currentTestCase: XCTestCase? - // swiftlint:disable:next identifier_name private var stashed_swift_reportFatalErrorsToDebugger: Bool = false @objc func testCaseWillStart(_ testCase: XCTestCase) {