mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix: import individual rx operators (#8160)
After the switch to lettable operators, we had started importing all operators via `rxjs/operators`. These changes switch us back to only importing the individual ones and add some linting so it doesn't happen in the future.
This commit is contained in:
committed by
Andrew Seguin
parent
e0eda5a9ce
commit
de8c6e2881
+1
-1
@@ -78,7 +78,7 @@
|
||||
["xdescribe"]
|
||||
],
|
||||
// Disallows importing the whole RxJS library. Submodules can be still imported.
|
||||
"import-blacklist": [true, "rxjs"],
|
||||
"import-blacklist": [true, "rxjs", "rxjs/operators"],
|
||||
// Avoids inconsistent linebreak styles in source files. Forces developers to use LF linebreaks.
|
||||
"linebreak-style": [true, "LF"],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user