         let swiftFiles = config.lintableFiles(inPath: "", forceExclude: false)
         XCTAssert(swiftFiles.map({ $0.path! }).contains(#file), "current file should be included")
 
-        let violations = swiftFiles.flatMap {
+        let violations = swiftFiles.parallelFlatMap {
             Linter(file: $0, configuration: config).styleViolations
         }
         violations.forEach { violation in

import Foundation
import SourceKittenFramework
import SwiftLintFramework
import XCTest

let config: Configuration = {


    func testSwiftLintAutoCorrects() {
        let swiftFiles = config.lintableFiles(inPath: "", forceExclude: false)
        let corrections = swiftFiles.parallelFlatMap { Linter(file: $0, configuration: config).correct() }
        for correction in corrections {
            correction.location.file!.withStaticString {
                XCTFail(correction.ruleDescription.description,
