Skip to content

Commit

Permalink
Enable strict concurrency checking
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Dec 23, 2024
1 parent ec35f95 commit cff2cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ let package = Package(
.product(name: "Yams", package: "Yams"),
"SwiftLintCoreMacros",
],
swiftSettings: swiftFeatures
swiftSettings: swiftFeatures + strictConcurrency
),
.target(
name: "SwiftLintBuiltInRules",
Expand Down

0 comments on commit cff2cbe

Please sign in to comment.