eslint-plugin-redux-saga
eslint-plugin-redux-saga copied to clipboard
no-effect-override rule
This is a WIP PR to fix #1. The docs are missing.
@sompylasar Now only the docs are missing?
I have added all test cases you mentioned in https://github.com/pke/eslint-plugin-redux-saga/issues/1#issuecomment-234516024 except for the fork
stories.
2 good tests are failing now, maybe you can have a look if they are really valid function generator use cases.
We may assume these failing cases as marginal and just really report them as errors. There is no need in the real code to pre-create effects and then yield them later.
Squashed for merge. What do you think? @sompylasar