Rule Code Quality

Immutable by Default

Prefer const and readonly; mutate only when necessary

immutabilitysafetypatterns
CLAUDE.md

Prefer const and readonly by default. Only use let or mutable structures when mutation is genuinely required. Immutable data is easier to reason about and less prone to bugs.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl