Why this matters
Avoids confusion and prevents stale toggles from drifting.
Delete dead configuration fields and env flags; keep only variables that change behavior.
Avoids confusion and prevents stale toggles from drifting.
Side-by-side examples engineers can pattern-match during review.
const String UNUSED_CHANNEL = 'beta'; // never read// remove UNUSED_CHANNEL or wire it into behavior where neededfinal mode = 'dev'; // unusedfinal mode = getModeFromEnv(); if (mode == 'dev') enableDevTools();From the same buckets as this rule.