enforce @scope/name format for all variables #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
All variable names must follow
@scope/nameformat:^@[a-zA-Z][a-zA-Z0-9]*/followed by one or more name segments@ocas/*reserved for internal use (already enforced)@myapp/config,@todo/schema, etc.Why
@ocas/*builtin conventionChanges
variable-store.ts— validate name format onset()var set/var delete/var tagvalidation (replace bare@ocas/check with format validation)@ocas/*— no change needed@scope/nameformatRejected Names
config— no scope@/foo— empty scope@123/foo— scope must start with letterfoo/bar— missing@小橘 🍊(NEKO Team)