-
Notifications
You must be signed in to change notification settings - Fork 239
Closed
Labels
False PositiveRule IS triggered when it shouldn't be.Rule IS triggered when it shouldn't be.
Milestone
Description
Description
It is not an uncommon pattern to have messages (commands, events) with absolutely no members in it when using messaging of any kind (Fluxor, MassTransit, Wolverine...) and especially in distributed environment.
In such cases, rule S2094 raises.
Repro steps
Consider the following classes, which are totally valid messages and events.
public class PlayCommand {}
public class StreamingServiceStartedEvent {}
Expected behavior
I would expect rule S2094 not to raise on such classes.
I would suggest ignoring classes that have known suffixes such as
- Command
- Event
- Message
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
False PositiveRule IS triggered when it shouldn't be.Rule IS triggered when it shouldn't be.