jambit / eslint-plugin-typed-redux-saga

These are eslint rules to help with typed-redux-saga
MIT License
17 stars 3 forks source link

Support for 'typed-redux-saga/macro' ? #2

Closed osmestad closed 3 years ago

osmestad commented 3 years ago

Nice plugin!

Only thing I could wish for would be support for importing from 'typed-redux-saga/macro' and enforcing that :-)

SantoJambit commented 3 years ago

Sorry about the delay. I never got any emails for this project, possibly, because It wasn't starred? I only noticed because I was mentioned in another issue.

On the topic: I am quite busy today, but I'll try to find some time to take a first look in the next couple of days.

SantoJambit commented 3 years ago

Since I have not used the macros before, I just want to confirm what the plugin should do: It should work exactly the same as @jambit/typed-redux-saga/use-typed-effects, but should use the /macro path instead?

I'll look into adding options to that rule. Should be straight forward I hope.

SantoJambit commented 3 years ago

Version 0.3.0 adds support for this. Please give it a try (see the updated readme on how to configure the rule).

osmestad commented 3 years ago

Works beautifully, thank you!

(Sorry for the slow reply!)