File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ The package includes the following rules.
72
72
| [ just] ( docs/rules/just.md ) | Require the use of ` just ` instead of ` of ` . | | 🔧 | | | |
73
73
| [ macro] ( docs/rules/macro.md ) | Require the use of the RxJS Tools Babel macro. | | 🔧 | | | ❌ |
74
74
| [ no-async-subscribe] ( docs/rules/no-async-subscribe.md ) | Disallow passing ` async ` functions to ` subscribe ` . | ✅ | | | 💭 | |
75
- | [ no-compat] ( docs/rules/no-compat.md ) | Disallow the ` rxjs-compat ` package. | | | | | |
75
+ | [ no-compat] ( docs/rules/no-compat.md ) | Disallow the ` rxjs-compat ` package. | | | | | ❌ |
76
76
| [ no-connectable] ( docs/rules/no-connectable.md ) | Disallow operators that return connectable observables. | | | | 💭 | |
77
77
| [ no-create] ( docs/rules/no-create.md ) | Disallow the static ` Observable.create ` function. | ✅ | | | 💭 | |
78
78
| [ no-cyclic-action] ( docs/rules/no-cyclic-action.md ) | Disallow cyclic actions in effects and epics. | | | | 💭 | |
Original file line number Diff line number Diff line change 1
1
# Disallow the ` rxjs-compat ` package (` rxjs-x/no-compat ` )
2
2
3
+ ❌ This rule is deprecated.
4
+
3
5
<!-- end auto-generated rule header -->
4
6
5
7
This rule prevents importing from locations that depend upon the ` rxjs-compat ` package.
6
8
9
+ This rule is deprecated because RxJS v7+ no longer includes ` rxjs-compat ` .
10
+
7
11
## Further reading
8
12
9
13
- [ Backwards compatibility] ( https://github.com/ReactiveX/rxjs/blob/a6590e971969c736a15b77154dabbc22275aa0d5/docs_app/content/guide/v6/migration.md#backwards-compatibility )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { ruleCreator } from '../utils';
4
4
export const noCompatRule = ruleCreator ( {
5
5
defaultOptions : [ ] ,
6
6
meta : {
7
+ deprecated : true ,
7
8
docs : {
8
9
description :
9
10
'Disallow the `rxjs-compat` package.' ,
You can’t perform that action at this time.
0 commit comments