pke / eslint-plugin-redux-saga

ESLint rules for redux-saga
MIT License
135 stars 16 forks source link

Enforce usage of selector functions on state in sagas #57

Open damrem opened 5 years ago

damrem commented 5 years ago

For the same reasons than https://github.com/pgilad/eslint-plugin-react-redux/blob/master/docs/rules/use-selectors-on-state.md, we should enforce usage of selector functions on state in sagas.

pke commented 5 years ago

Thanks for the suggestion. Will you be able to work on a PR? I can't say when I will be able to work on it.

pke commented 4 years ago

@damrem can you give me an example where this should be enforced with sagas?