Skip to content

Commit

Permalink
Add reenablement of Swiftlint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
acb-mv authored and buggmagnet committed Nov 28, 2024
1 parent 4f3a2e1 commit 85b91d0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ struct SingleChoiceList<Value>: View where Value: Equatable {
}
}

// swiftlint:enable function_body_length

private func subtitleRow(_ text: String) -> some View {
HStack {
Text(text)
Expand Down Expand Up @@ -341,6 +343,8 @@ struct SingleChoiceList<Value>: View where Value: Equatable {
}
}

// swiftlint:enable function_parameter_count

#Preview("Static values") {
StatefulPreviewWrapper(1) { SingleChoiceList(title: "Test", options: [1, 2, 3], value: $0) }
}
Expand Down

0 comments on commit 85b91d0

Please sign in to comment.