Svelte Guideline: Events — Use createEventDispatcher. Description: Custom component events. Do: dispatch for custom events. Don't: on:event for custom events. Good Example: dispatch('save', { data }). Bad Example: on:save without dispatch. Severity: Medium. Docs: https://svelte.dev/docs/svelte#createeventdispatcher.