# eslint-plugin-no-expectsaga-without-return

> Provides an eslint rule to check expectSaga from redux-test-plan is called within return statement only

Latest version **1.0.17** (published 2020-08-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-no-expectsaga-without-return
pnpm add eslint-plugin-no-expectsaga-without-return
yarn add eslint-plugin-no-expectsaga-without-return
bun add eslint-plugin-no-expectsaga-without-return
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.17 |
| Published | 2020-08-18 |
| First published | 2020-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | mmakarin |
| Maintainers | spybot |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-no-expectsaga-without-return
- Repository: https://github.com/mmakarin/eslint-plugin-no-expectSaga-without-return
- Homepage: https://github.com/mmakarin/eslint-plugin-no-expectSaga-without-return#readme
- Issues: https://github.com/mmakarin/eslint-plugin-no-expectSaga-without-return/issues
- npm.io page: https://npm.io/package/eslint-plugin-no-expectsaga-without-return

## Recent versions

- 1.0.17 (latest) — 2020-08-18
- 1.0.16 — 2020-08-18
- 1.0.15 — 2020-08-18
- 1.0.14 — 2020-08-18
- 1.0.13 — 2020-08-18
- 1.0.12 — 2020-08-18
- 1.0.11 — 2020-08-17
- 1.0.10 — 2020-08-17
- 1.0.9 — 2020-08-17
- 1.0.8 — 2020-08-17
- 1.0.7 — 2020-08-17
- 1.0.6 — 2020-08-17
- 1.0.5 — 2020-08-17
- 1.0.4 — 2020-08-17
- 1.0.3 — 2020-08-17
- … 3 more at https://npm.io/package/eslint-plugin-no-expectsaga-without-return/versions

## README

eslint-plugin-no-expectSaga-without-return
===================

[![NPM version][npm-image]][npm-url]

Check that you don't forgot to insert return when calling expectSaga inside a test

# Installation

Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally. (Note that locally, per project, is strongly preferred)

```sh
$ npm install eslint --save-dev
```

If you installed `ESLint` globally, you have to install plugin globally too. Otherwise, install it locally.

```sh
$ npm install eslint-plugin-no-expectSaga-without-return --save-dev
```

# Configuration

Use [our preset](#recommended) to get reasonable defaults:

```json
  "extends": [
    "eslint:recommended",
    "plugin:no-expectSaga-without-return/recommended"
  ]
```

If you do not use a preset you will need to specify individual rules and add extra configuration.

Add "no-expectSaga-without-return" to the plugins section.

```json
{
  "plugins": [
    "no-expectSaga-without-return"
  ]
}
```

Enable the rules that you would like to use.

```json
  "rules": {
    "no-expectSaga-without-return/mandatory-return": 2
  }
```

# List of supported rules

* no-expectSaga-without-return/mandatory-return: Enforces return before expectSaga() calls

# License

ESLint-plugin-React is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).

[npm-url]: https://www.npmjs.com/package/eslint-plugin-no-expectsaga-without-return
[npm-image]: https://img.shields.io/npm/v/eslint-plugin-react.svg

---
_Source: https://npm.io/package/eslint-plugin-no-expectsaga-without-return · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
