Skip to content

Don't handle regular throw statements in throw-error #21

@JasonWeinzierl

Description

@JasonWeinzierl

The rxjs-x/throw-error rule handles both the RxJS operator throwError() as well as regular throw statements. This secondary handling is unnecessary because typescript-eslint's only-throw-error rule handles the same exact functionality. Also, linting outside of RxJS code is not the job of this library. Remove lint behavior that checks regular throw statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions