Skip to content

Commit

Permalink
fix: remove single char identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannisj committed Dec 5, 2024
1 parent 271693b commit dd495ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ file_length:
identifier_name:
excluded:
- id
- c
- r
- ^ph_.*$

function_body_length:
Expand Down
4 changes: 2 additions & 2 deletions PostHog/Autocapture/SwiftUI/View+PostHogLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@

private extension UIView {
func siblings() -> [UIView] {
superview?.subviews.reduce(into: []) { r, c in
if c !== self { r.append(c) }
superview?.subviews.reduce(into: []) { result, current in
if current !== self { result.append(current) }
} ?? []
}

Expand Down

0 comments on commit dd495ef

Please sign in to comment.