You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(lint): guard examples against bare metadata literals (#2035)
Adds an AST-only no-restricted-syntax rule that flags exported consts in
examples/** annotated with a spec domain type (simple `Page` or qualified
`UI.Page`) instead of being wrapped in the defineX factory. Turns the authoring
convention into an invariant so the "pick by history" pattern cannot creep back
into the reference corpus AI learns from — it already caught 15 unmigrated
authoring files in this change. No type info required.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments