mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
Enable strict concurrency checking
This commit is contained in:
@@ -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"],
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ let package = Package(
|
||||
.product(name: "Yams", package: "Yams"),
|
||||
"SwiftLintCoreMacros",
|
||||
],
|
||||
swiftSettings: swiftFeatures
|
||||
swiftSettings: swiftFeatures + strictConcurrency
|
||||
),
|
||||
.target(
|
||||
name: "SwiftLintBuiltInRules",
|
||||
|
||||
Reference in New Issue
Block a user