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
This commit is contained in:
Hugh Nimmo-Smith 2024-11-20 10:32:21 +00:00 committed by GitHub
parent fbc2cd3e97
commit 826d0ee40d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,7 @@ module.exports = {
"@typescript-eslint/promise-function-async": "error", "@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-await": "error", "@typescript-eslint/require-await": "error",
"@typescript-eslint/await-thenable": "error", "@typescript-eslint/await-thenable": "error",
"rxjs/no-exposed-subjects": "error",
}, },
settings: { settings: {
react: { react: {