mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-15 09:59:46 +00:00
* chore: harden biome lint rules and auto-fix codebase Add strict biome rules for better TypeScript code quality: - useBlockStatements: enforce braces on all control flow - useConst: prefer const over let - useNodejsImportProtocol: require node: prefix for builtins - noUnusedImports/Variables: error (warn in tests) - noExplicitAny: warn in source, off in tests - noDoubleEquals, noAssignInExpressions, noFallthroughSwitchClause - useNumberNamespace (Number.isNaN over isNaN) - noImplicitAnyLet, noInferrableTypes, noUselessElse Auto-fixed 55 files. Tests relaxed for any/unused patterns. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: enable biome formatter with expand: always for brace newlines Enable biome formatter with: - expand: "always" — braces on their own lines - indentStyle: space, indentWidth: 2 - lineWidth: 120 - arrowParentheses: always - trailingCommas: all - semicolons: always 82 files reformatted. All 1819 tests pass. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agents.ts | ||
| main.ts | ||
| sprite.ts | ||