<!--
title: Follow snake_case convention
domain: app-frameworks
topic: Naming Conventions
language: TypeScript
source: sveltejs/svelte
updated: 2024-09-11
url: https://awesomereviewers.com/reviewers/svelte-follow-snake-case-convention/
-->

Consistently use snake_case naming throughout the codebase for variables, methods, and identifiers to maintain established conventions. When the codebase has adopted snake_case as the standard, all new code should follow this pattern rather than introducing camelCase or other naming styles.

Example:
```typescript
// Preferred - follows codebase snake_case convention
const class_name = `__svelte_${hash(rule)}`;
function push_quasi(q: string) { ... }

// Avoid - inconsistent with established convention
const className = `__svelte_${hash(rule)}`;
function pushQuasi(q: string) { ... }
```

This ensures consistency across the codebase, improves readability, and prevents confusion when different naming conventions are mixed within the same project.
