Skip to content

Commit

Permalink
Re-enable all lint rules as soon as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
F1248 committed Feb 9, 2025
1 parent f700cce commit 05a8159
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Genius/Extensions/Swift/Bool.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ extension Bool: DataInitializable {
)
}

// swiftlint:disable vertical_parameter_alignment_on_call
// swiftformat:disable indent wrap wrapArguments
// swiftlint:disable vertical_parameter_alignment_on_call

init?(fdesetupOutput: String?) {
self.init(
Expand All @@ -61,6 +61,7 @@ extension Bool: DataInitializable {
)
}

// swiftformat:enable indent wrap wrapArguments
// swiftlint:enable vertical_parameter_alignment_on_call

init?(socketfilterfwOutput: String?) {
Expand Down
3 changes: 1 addition & 2 deletions Genius/Extensions/Swift/String.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ extension String: DefaultInitializable, DataInitializable {
.localized
case let systemInformationData as VersionNumber: systemInformationData.versions.map(String.init).joined(separator: ".")
default: nil
// swiftlint:disable:next statement_position
}
} // swiftformat:enable indent
else { return nil }
self = string
}
Expand Down
1 change: 1 addition & 0 deletions Genius/Models/SystemInformation/Hardware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,5 @@ extension SystemInformation {
)
}
}
// swiftformat:enable organizeDeclarations
}
1 change: 1 addition & 0 deletions Genius/Models/SystemInformation/Software.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,5 @@ extension SystemInformation {
static let accountName = SystemInformationData<String>(NSUserName())
}
}
// swiftformat:enable organizeDeclarations
}

0 comments on commit 05a8159

Please sign in to comment.