chore(lint): replace ESLint with Oxlint and clear anti-slop findings

This commit is contained in:
Chris Scott committed 2026-11-13 01:13:34 -05:00
1 parent c6c13335e5
commit b625acfc0c
1083 files changed
+67089 -80136

No files matched your search

-6
View File
@@ -11,16 +11,10 @@ export interface UseSessionSearchOptions {
limit?: number
allDirectories?: boolean
project?: { id: string; subpath: string }
/** Searches a linked server instead of the route's server. */
serverId?: string
/** Seeds the search box, for callers that mount the hook after a query is already entered. */
initialQuery?: string
}
/**
* Owns the sessions-dialog search state: the raw query, its debounced server
* value, the root-session selection, and the immediate local title filter.
*/
export function useSessionSearch(directories: string[], options: UseSessionSearchOptions = {}) {
const limit = options.limit ?? DEFAULT_LIMIT
const allDirectories = options.allDirectories ?? false