No Enums
Use const objects or union types instead of TypeScript enums
CLAUDE.md
Use as const objects or string union types instead of enums. Enums have surprising runtime behavior, don’t tree-shake well, and create a parallel value/type namespace. Union types are simpler and safer.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.