Skip to content

Commit 1958b33

Browse files
Fix lint
1 parent b5d622f commit 1958b33

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CodeEdit/Features/CodeEditUI/Views/AreaTabBar.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ struct AreaTabBar<Tab: AreaTab>: View {
185185
case next
186186
}
187187

188-
// swiftlint: disable function_parameter_count
188+
// swiftlint:disable function_parameter_count
189189
private func swapTab(
190190
tab: Tab,
191191
currentIndex: Int,
@@ -236,7 +236,7 @@ struct AreaTabBar<Tab: AreaTab>: View {
236236
items.swapAt(currentIndex, swapIndex)
237237
}
238238
}
239-
// swiftlint: enable function_parameter_count
239+
// swiftlint:enable function_parameter_count
240240

241241
private func isWithinPrevTopBounds(
242242
_ curLocation: CGFloat, _ swapLocation: CGRect, _ swapWidth: CGFloat

CodeEdit/Features/LSP/LSPEventHandler.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ extension LSPService {
4444
}
4545
}
4646

47+
// swiftlint:disable cyclomatic_complexity
4748
private func handleRequest(_ request: ServerRequest) {
4849
switch request {
4950
case let .workspaceConfiguration(params, handler):
@@ -70,6 +71,7 @@ extension LSPService {
7071
default:
7172
print()
7273
}
74+
// swiftlint:enable cyclomatic_complexity
7375
}
7476

7577
private func handleNotification(_ notification: ServerNotification) {

0 commit comments

Comments
 (0)