Function: validateAlias()¶
validateAlias(
alias):boolean
Defined in: resolver/src/alias-resolver.ts:60
Validate that an alias name conforms to the required format.
Valid aliases match @[a-z0-9][a-z0-9-]* (e.g., @acme, @my-org). Uppercase letters, spaces, underscores, and other special characters are rejected.
Parameters¶
alias¶
string
The alias name to validate (e.g., @acme)
Returns¶
boolean
True if the alias is valid