Skip to content

Commit 9f0d964

Browse files
committed
chore: apply swift-format with 4-space indentation
1 parent 2c57ecc commit 9f0d964

File tree

625 files changed

+14933
-14875
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

625 files changed

+14933
-14875
lines changed

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ disabled_rules:
55
- redundant_discardable_let # Preserve 'let _ =' in result builder contexts (required for Swift 6.0+)
66
- opening_brace # Handled by swift-format
77
- trailing_comma # Handled by swift-format
8+
- trailing_whitespace # Preserve whitespace in snapshot tests
89
- orphaned_doc_comment # Allow module-level documentation
910

1011
opt_in_rules:

Sources/HTMLAttributeTypes/Attributes/Abbr.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
@dynamicMemberLookup
1414
public struct Abbr: HTMLStringAttribute {
15-
/// The name of the HTML attribute
16-
@inlinable public static var attribute: String { "abbr" }
15+
/// The name of the HTML attribute
16+
@inlinable public static var attribute: String { "abbr" }
1717

18-
/// The URL for form submission
19-
public let rawValue: String
18+
/// The URL for form submission
19+
public let rawValue: String
2020

21-
public init(value: String) {
22-
self.rawValue = value
23-
}
21+
public init(value: String) {
22+
self.rawValue = value
23+
}
2424
}

0 commit comments

Comments
 (0)