From 826d0ee40d806ebaf3179e9f9ed8f0f1bfe42da8 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Wed, 20 Nov 2024 10:32:21 +0000 Subject: [PATCH] Rxjs subjects should not be exposed (#2805) This rule will encourage us to do the right thing and better abstract. See https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/no-exposed-subjects.md --- .eslintrc.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index bedf1c68..31dccb6a 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -37,6 +37,7 @@ module.exports = { "@typescript-eslint/promise-function-async": "error", "@typescript-eslint/require-await": "error", "@typescript-eslint/await-thenable": "error", + "rxjs/no-exposed-subjects": "error", }, settings: { react: {