Home / Market / no inline imports

no inline imports

Cursor native project rules: no-inline-imports

cursor-rule★ 210700 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- description: Keep imports at top of file and avoid inline imports alwaysApply: true

---

No inline imports

Always place imports at the top of the module. Avoid inline imports in function bodies, type annotations, or interface fields unless there is a strict circular-dependency reason and it is documented.