S1214 reports an issue highlighting the interface name with the message:
Move constants to a class or enum.
From this behavior, it is not clear what is the problem, we should improve the situation by:
- Adding secondary locations to the constants.
- Change the message to better reflect the action: "Move constants defined in this interfaces to another class or enum"
- relates to
-
RSPEC-1214 Constants should not be defined in interfaces
- Active