Skip to content

Commit

Permalink
Rxjs subjects should not be exposed (#2805)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hughns authored Nov 20, 2024
1 parent fbc2cd3 commit 826d0ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 826d0ee

Please sign in to comment.