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.240,525latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.240,525
1.2.2196
1.2.12,394
1.2.024
1.1.32,301
1.1.2127
1.1.1304
1.1.019
1.0.03,872
0.10.01,829
0.9.02,082
0.8.0495
0.7.00
0.6.01,100
0.5.0341
0.4.019
0.3.01,930
0.2.00
0.1.5329
0.1.40
0.1.31
0.1.21
0.1.10
0.1.00

Package Sidebar

Install

npm i eslint-plugin-redux-saga

Weekly Downloads

57,889

Version

1.3.2

License

MIT

Unpacked Size

12.9 kB

Total Files

8

Last publish

Collaborators

  • pke