question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide eslint rules for sagas

See original GitHub issue

I 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:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
fhelwangercommented, Mar 16, 2016

Maybe we could have an eslint-plugin-redux-saga for that, like eslint-plugin-react.

Do you think it’s worth?

3reactions
pkecommented, Apr 21, 2016

I have setup a preliminary work-in-progress repo at https://github.com/pke/eslint-plugin-redux-saga

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found