File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ The package includes the following rules.
100
100
| [ no-implicit-any-catch] ( docs/rules/no-implicit-any-catch.md ) | Disallow implicit ` any ` error parameters in ` catchError ` operators. | ✅ 🔒 | 🔧 | 💡 | 💭 | |
101
101
| [ no-index] ( docs/rules/no-index.md ) | Disallow importing index modules. | ✅ 🔒 | | | | |
102
102
| [ no-internal] ( docs/rules/no-internal.md ) | Disallow importing internal modules. | ✅ 🔒 | 🔧 | 💡 | | |
103
- | [ no-misused-observables] ( docs/rules/no-misused-observables.md ) | Disallow Observables in places not designed to handle them. | | | | 💭 | |
103
+ | [ no-misused-observables] ( docs/rules/no-misused-observables.md ) | Disallow Observables in places not designed to handle them. | 🔒 | | | 💭 | |
104
104
| [ no-nested-subscribe] ( docs/rules/no-nested-subscribe.md ) | Disallow calling ` subscribe ` within a ` subscribe ` callback. | ✅ 🔒 | | | 💭 | |
105
105
| [ no-redundant-notify] ( docs/rules/no-redundant-notify.md ) | Disallow sending redundant notifications from completed or errored observables. | ✅ 🔒 | | | 💭 | |
106
106
| [ no-sharereplay] ( docs/rules/no-sharereplay.md ) | Disallow unsafe ` shareReplay ` usage. | ✅ 🔒 | | | | |
Original file line number Diff line number Diff line change 1
1
# Disallow Observables in places not designed to handle them (` rxjs-x/no-misused-observables ` )
2
2
3
+ 💼 This rule is enabled in the 🔒 ` strict ` config.
4
+
3
5
💭 This rule requires [ type information] ( https://typescript-eslint.io/linting/typed-linting ) .
4
6
5
7
<!-- end auto-generated rule header -->
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export const createStrictConfig = (
22
22
} ] ,
23
23
'rxjs-x/no-index' : 'error' ,
24
24
'rxjs-x/no-internal' : 'error' ,
25
+ 'rxjs-x/no-misused-observables' : 'error' ,
25
26
'rxjs-x/no-nested-subscribe' : 'error' ,
26
27
'rxjs-x/no-redundant-notify' : 'error' ,
27
28
'rxjs-x/no-sharereplay' : 'error' ,
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export const noMisusedObservablesRule = ruleCreator({
65
65
meta : {
66
66
docs : {
67
67
description : 'Disallow Observables in places not designed to handle them.' ,
68
+ recommended : 'strict' ,
68
69
requiresTypeChecking : true ,
69
70
} ,
70
71
messages : {
You can’t perform that action at this time.
0 commit comments