Skip to content

Commit e0ef1ed

Browse files
committed
style: fix swiftlint violations before v0.37.0
1 parent 5e88b60 commit e0ef1ed

5 files changed

Lines changed: 3 additions & 4 deletions

File tree

TablePro/Core/MCP/MCPToolHandler+Integrations.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ extension MCPToolHandler {
304304
let connections = ConnectionStorage.shared.loadConnections()
305305
return Set(connections.filter { $0.externalAccess == .blocked }.map(\.id))
306306
}
307-
308307
}
309308

310309
struct TabSnapshot {

TablePro/Core/MCP/MCPToolHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ final class MCPToolHandler: Sendable {
126126
)
127127
}
128128

129-
static let anonymousFullAccessToken: MCPAuthToken = MCPAuthToken(
129+
static let anonymousFullAccessToken = MCPAuthToken(
130130
id: UUID(),
131131
name: "__anonymous__",
132132
prefix: "tp_anon",

TablePro/TableProApp.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,6 @@ struct TableProApp: App {
650650
// MARK: - Notification Names
651651

652652
extension Notification.Name {
653-
654653
// Multi-listener broadcasts (Sidebar + Coordinator + StructureView)
655654
static let refreshData = Notification.Name("refreshData")
656655

TablePro/Views/Connection/ConnectionAdvancedView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ struct ConnectionAdvancedView: View {
9696
} footer: {
9797
VStack(alignment: .leading, spacing: 4) {
9898
if AppSettingsManager.shared.ai.enabled {
99+
// swiftlint:disable:next line_length
99100
Text(String(localized: "AI Policy controls in-app AI agents. External Clients controls Raycast, Cursor, Claude Desktop, and other MCP clients. Effective scope is the minimum of the requesting token's scope and the External Clients level."))
100101
} else {
102+
// swiftlint:disable:next line_length
101103
Text(String(localized: "Controls how external clients (Raycast, Cursor, Claude Desktop) access this connection. Tokens cannot exceed this level even with full-access scope."))
102104
}
103105
}

TablePro/Views/Sidebar/SidebarView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import SwiftUI
1111

1212
/// Sidebar view with segmented tab picker for Tables and Favorites
1313
struct SidebarView: View {
14-
1514
@State private var viewModel: SidebarViewModel
1615
@Bindable private var schemaService = SchemaService.shared
1716

0 commit comments

Comments
 (0)