severity: WARNING
The base event class should always be suffixed by Event
.
❌ BAD:
@immutable
sealed class CounterData {}
final class CounterStarted extends CounterData {}
✅ GOOD:
@immutable
sealed class CounterEvent {}
final class CounterStarted extends CounterEvent {}