Skip to content

Commit

Permalink
Lint package file.
Browse files Browse the repository at this point in the history
  • Loading branch information
randymarsh77 committed Dec 4, 2024
1 parent ca26f55 commit 4a53383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
included:
- Sources
- Tests
- Package.swift

identifier_name:
min_length:
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ let package = Package(
.library(
name: "Time",
targets: ["Time"]
),
)
],
targets: [
.target(
name: "Time"
),
.testTarget(name: "TimeTests", dependencies: ["Time"]),
.testTarget(name: "TimeTests", dependencies: ["Time"]),

Check warning on line 16 in Package.swift

View workflow job for this annotation

GitHub Actions / macOS (x64)

Trailing Comma (trailing_comma)

Collection literals should not have trailing commas

Check warning on line 16 in Package.swift

View workflow job for this annotation

GitHub Actions / Linux

Trailing Comma (trailing_comma)

Collection literals should not have trailing commas

Check warning on line 16 in Package.swift

View workflow job for this annotation

GitHub Actions / macOS (arm64)

Trailing Comma (trailing_comma)

Collection literals should not have trailing commas
]
)

0 comments on commit 4a53383

Please sign in to comment.