chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -15,16 +15,12 @@ export function listPairingChannels(): ChannelId[] {
.map((plugin) => plugin.id);
}
export function getPairingAdapter(
channelId: ChannelId,
): ChannelPairingAdapter | null {
export function getPairingAdapter(channelId: ChannelId): ChannelPairingAdapter | null {
const plugin = getChannelPlugin(channelId);
return plugin?.pairing ?? null;
}
export function requirePairingAdapter(
channelId: ChannelId,
): ChannelPairingAdapter {
export function requirePairingAdapter(channelId: ChannelId): ChannelPairingAdapter {
const adapter = getPairingAdapter(channelId);
if (!adapter) {
throw new Error(`Channel ${channelId} does not support pairing`);