eslint-plugin-redux-saga

1.3.2 • Public • Published

eslint-plugin-redux-saga

Build Status npm version License

ESLint rules for redux-saga.

Usage

Install the plugin:

npm

npm i -D eslint-plugin-redux-saga

yarn

yarn add -D eslint-plugin-redux-saga

And add it to your .eslintrc file:

{
  "plugins": [
    "redux-saga"
  ]
}

Rules

Rule Description Recommended Fixable
yield-effects Ensure effects are yielded recommended suggestion fixable
no-yield-in-race Prevent usage of yield in race entries recommended fixable
no-unhandled-errors Ensures error handling on sagas recommended

Recommended configuration

This plugin exports the recommended configuration that enforces all the rules. To use it, add following property to .eslintrc file:

{
  "extends": [
    "plugin:redux-saga/recommended"
  ]
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.3.252,169latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.252,169
1.2.2156
1.2.12,961
1.2.0137
1.1.31,221
1.1.2142
1.1.1230
1.1.022
1.0.03,292
0.10.01,523
0.9.01,733
0.8.0108
0.7.02
0.6.01,790
0.5.0301
0.4.03
0.3.01,667
0.2.02
0.1.5126
0.1.42
0.1.32
0.1.22
0.1.10
0.1.04

Package Sidebar

Install

npm i eslint-plugin-redux-saga

Weekly Downloads

67,595

Version

1.3.2

License

MIT

Unpacked Size

12.9 kB

Total Files

8

Last publish

Collaborators

  • pke