Provide eslint rules for sagas
See original GitHub issueI recently forgot to call
an async function. It would be nice to have a eslint saga-call
rule that enforce s the usage of yield <effect> asyncFunc
instead of yield asyncFunc
.
Since I recently wrote a simple eslint myself I might create a PR for that, if there is any interest.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:13 (11 by maintainers)
Top Results From Across the Web
eslint-plugin-redux-saga - npm package - Snyk
Rules ; yield-effects, Ensure effects are yielded, recommended ; no-yield-in-race, Prevent usage of yield in race entries, recommended ; no-unhandled-errors ...
Read more >eslint-plugin-redux-saga - npm
redux-saga eslint rules. Latest version: 1.3.2, last published: a year ago. Start using eslint-plugin-redux-saga in your project by running ...
Read more >eslint-plugin-redux-saga - RunKit + npm
This is a playground to test code. It runs a full Node.js environment and already has all of npm 's 1,000,000+ packages pre-installed,...
Read more >ESLint error when importing from redux-saga - Stack Overflow
Error while running ESLint: Cannot find module '/Users/cjpitt/project/node_modules/redux-saga/config/webpack.config.dev.js'.
Read more >Rules - ESLint - Pluggable JavaScript Linter
Rules ; array-callback-return. Enforce return statements in callbacks of array methods ; constructor-super. Require `super()` calls in constructors ; for-direction.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe we could have an
eslint-plugin-redux-saga
for that, like eslint-plugin-react.Do you think it’s worth?
I have setup a preliminary work-in-progress repo at https://github.com/pke/eslint-plugin-redux-saga