mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-04 04:22:41 +00:00
Add two lint mechanisms to catch the Ink error "<Box> can't be nested inside <Text> component" at build/lint time rather than runtime: 1. Biome GritQL plugin (no-box-in-text.grit) - for Biome v2+ users 2. Build-time check script (check-box-in-text.ts) - standalone AST check These help prevent the runtime error that occurs when Box components are incorrectly nested inside Text components in Ink applications.