diff --git a/BUILD b/BUILD index ef07adeba..453ce4e04 100644 --- a/BUILD +++ b/BUILD @@ -73,7 +73,7 @@ swift_library( name = "SwiftLintCore", package_name = "SwiftLint", srcs = glob(["Source/SwiftLintCore/**/*.swift"]), - copts = copts, # TODO: strict_concurrency_copts + copts = copts + strict_concurrency_copts, module_name = "SwiftLintCore", plugins = select({ ":universal_tools_config": [":SwiftLintCoreMacros"], diff --git a/Package.swift b/Package.swift index 934c1f1e1..2e4cb6dde 100644 --- a/Package.swift +++ b/Package.swift @@ -87,7 +87,7 @@ let package = Package( .product(name: "Yams", package: "Yams"), "SwiftLintCoreMacros", ], - swiftSettings: swiftFeatures + swiftSettings: swiftFeatures + strictConcurrency ), .target( name: "SwiftLintBuiltInRules",