Closed VanTanev closed 3 years ago
Thanks for the report. Definitely looks like a bug.
It is detected as a violation, because actions.pure
is not recognized as THE pure
action creator (which is the only context in which calling other action creators is sensible). I will add "actions.pure" into the list to allow for this usage.
:tada: This issue has been resolved in version 0.10.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Thank you!
Describe the bug "xstate/no-imperative-action" is triggered with valid use of
send()
Actual behavior
Versions (please complete the following information):
Additional context If I use
actions.send()
it works, but I think that's because the eslint plugin doesn't actually execute in that case?