File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 44
55<!-- end auto-generated rule header -->
66
7- This rule can be configured so that developers can ban any operators they want to avoid in their project.
7+ This rule can be configured so that developers can ban ` rxjs ` operators they want to avoid in their project.
8+
9+ > [ !NOTE]
10+ > Operators outside of a ` pipe ` or not directly exported by ` rxjs ` are ignored.
811
912## Options
1013
@@ -25,3 +28,17 @@ The following configuration bans `partition` and `onErrorResumeNext`:
2528}
2629```
2730
31+ ## When Not To Use It
32+
33+ If you have no need to ban ` rxjs ` operators, you don't need this rule.
34+
35+ Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.
36+
37+ ## Related To
38+
39+ - [ ` ban-observables ` ] ( ./ban-observables.md )
40+
41+ ## Resources
42+
43+ - [ Rule source] ( https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/src/rules/ban-operators.ts )
44+ - [ Test source] ( https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/blob/main/tests/rules/ban-operators.test.ts )
You can’t perform that action at this time.
0 commit comments