Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The package includes the following rules.
| [just](docs/rules/just.md) | Require the use of `just` instead of `of`. | | 🔧 | | | |
| [macro](docs/rules/macro.md) | Require the use of the RxJS Tools Babel macro. | | 🔧 | | | ❌ |
| [no-async-subscribe](docs/rules/no-async-subscribe.md) | Disallow passing `async` functions to `subscribe`. | ✅ | | | 💭 | |
| [no-compat](docs/rules/no-compat.md) | Disallow the `rxjs-compat` package. | | | | | |
| [no-compat](docs/rules/no-compat.md) | Disallow the `rxjs-compat` package. | | | | | |
| [no-connectable](docs/rules/no-connectable.md) | Disallow operators that return connectable observables. | | | | 💭 | |
| [no-create](docs/rules/no-create.md) | Disallow the static `Observable.create` function. | ✅ | | | 💭 | |
| [no-cyclic-action](docs/rules/no-cyclic-action.md) | Disallow cyclic actions in effects and epics. | | | | 💭 | |
Expand Down
4 changes: 4 additions & 0 deletions docs/rules/no-compat.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Disallow the `rxjs-compat` package (`rxjs-x/no-compat`)

❌ This rule is deprecated.

<!-- end auto-generated rule header -->

This rule prevents importing from locations that depend upon the `rxjs-compat` package.

This rule is deprecated because RxJS v7+ no longer includes `rxjs-compat`.

## Further reading

- [Backwards compatibility](https://github.com/ReactiveX/rxjs/blob/a6590e971969c736a15b77154dabbc22275aa0d5/docs_app/content/guide/v6/migration.md#backwards-compatibility)
1 change: 1 addition & 0 deletions src/rules/no-compat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ruleCreator } from '../utils';
export const noCompatRule = ruleCreator({
defaultOptions: [],
meta: {
deprecated: true,
docs: {
description:
'Disallow the `rxjs-compat` package.',
Expand Down