- Code consistency
- No reference to variable type with TypeScript"s enums, interfaces and types:
- ✅ Good: no reference to type in name
export enum Colors { ACCENT = "#0066ff", ATTENTION = "#ffea00", // ... }
- ❌ Bad:
export enum ColorsEnum { ACCENT = "#0066ff", ATTENTION = "#ffea00", // ... }
- ✅ Good: no reference to type in name