Skip to content

Commit 6846289

Browse files
committed
fix linter issues
1 parent 5510a74 commit 6846289

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Components/Macro/Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ let package = Package(
1717
.executable(
1818
name: "MacroClient",
1919
targets: ["MacroClient"]
20-
),
20+
)
2121
],
2222
dependencies: [
2323
// Depend on the latest Swift 5.9 prerelease of SwiftSyntax
24-
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-25-b"),
24+
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-25-b")
2525
],
2626
targets: [
2727
// Targets are the basic building blocks of a package, defining a module or a test suite.
@@ -50,8 +50,8 @@ let package = Package(
5050
name: "MacroTests",
5151
dependencies: [
5252
"Macro",
53-
.product(name: "SwiftSyntaxMacrosTestSupport", package: "swift-syntax"),
53+
.product(name: "SwiftSyntaxMacrosTestSupport", package: "swift-syntax")
5454
]
55-
),
55+
)
5656
]
5757
)

Components/Macro/Sources/Macros/MutableMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ public struct MutableMacro: MemberMacro {
4949
@main
5050
struct MacroPlugin: CompilerPlugin {
5151
let providingMacros: [Macro.Type] = [
52-
MutableMacro.self,
52+
MutableMacro.self
5353
]
5454
}

Components/Macro/Tests/MutableMacroTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import XCTest
44
import Macros
55

66
let testMacros: [String: Macro.Type] = [
7-
"mutable": MutableMacro.self,
7+
"mutable": MutableMacro.self
88
]
99

1010
final class MutableMacroTests: XCTestCase {

0 commit comments

Comments
 (0)