style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
@@ -92,7 +92,7 @@ export function loadSystemPrompt(config: Config, skillRegistry: SkillRegistry):
|
||||
// ── Pairing Manager ─────────────────────────────────────────────
|
||||
|
||||
export function initPairingManager(config: Config, store?: PairingStore): PairingManager | undefined {
|
||||
if (!config.pairing.enabled) return undefined;
|
||||
if (!config.pairing.enabled) {return undefined;}
|
||||
|
||||
const ttlMatch = config.pairing.code_ttl.match(/^(\d+)(s|m|h)$/);
|
||||
const codeTtlMs = ttlMatch
|
||||
|
||||
Reference in New Issue
Block a user