You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`no-subject-unsubscribe`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-subject-unsubscribe.md)| Forbids calling the `unsubscribe` method of a subject instance. | ✅ ||
105
105
|[`no-subject-value`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-subject-value.md)| Forbids accessing the `value` property of a `BehaviorSubject` instance. |||
106
-
|[`no-subscribe-callbacks`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-subscribe-callbacks.md)| Forbids the calling of `subscribe` with arguments. |||
106
+
|[`no-subscribe-handlers`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-subscribe-handlers.md)| Forbids the passing of handlers to `subscribe`. |||
107
107
|[`no-topromise`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-topromise.md)| Forbids the use of the `toPromise` method. |||
108
108
|[`no-unbound-methods`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-unbound-methods.md)| Forbids the passing of unbound methods. | ✅ ||
109
109
|[`no-unsafe-catch`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-unsafe-catch.md)| Forbids unsafe `catchError` usage in effects and epics. |||
110
110
|[`no-unsafe-first`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-unsafe-first.md)| Forbids unsafe `first`/`take` usage in effects and epics. |||
|[`no-unsafe-switchmap`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-unsafe-switchmap.md)| Forbids unsafe `switchMap` usage in effects and epics. |||
113
113
|[`no-unsafe-takeuntil`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-unsafe-takeuntil.md)| Forbids the application of operators after `takeUntil`. | ✅ ||
114
-
|[`prefer-observer`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/prefer-observer.md)| Forbids the passing separate callbacks to `subscribe` and `tap`. |||
114
+
|[`prefer-observer`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/prefer-observer.md)| Forbids the passing separate handlers to `subscribe` and `tap`. |||
115
115
|[`suffix-subjects`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/suffix-subjects.md)| Enforces the use of a suffix in subject identifiers. |||
116
116
|[`throw-error`](https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/throw-error.md)| Enforces the passing of `Error` values to error notifications. |||
Copy file name to clipboardExpand all lines: docs/rules/no-implicit-any-catch.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Use type-safe error callbacks (`no-implicit-any-catch`)
1
+
# Use type-safe error handlers (`no-implicit-any-catch`)
2
2
3
-
This rule requires an explicit type annotation for error parameters in error callbacks. It's similar to the TypeScript [`no-implicit-any-catch`](https://github.com/typescript-eslint/typescript-eslint/blob/e01204931e460f5e6731abc443c88d666ca0b07a/packages/eslint-plugin/docs/rules/no-implicit-any-catch.md) rule, but is for observables - not `try`/`catch` statements.
3
+
This rule requires an explicit type annotation for error parameters in error handlers. It's similar to the TypeScript [`no-implicit-any-catch`](https://github.com/typescript-eslint/typescript-eslint/blob/e01204931e460f5e6731abc443c88d666ca0b07a/packages/eslint-plugin/docs/rules/no-implicit-any-catch.md) rule, but is for observables - not `try`/`catch` statements.
0 commit comments