You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since rxjs 7.2.0 most operators have been moved to rxjs
With RxJS v7.2.0, most operators have been moved to 'rxjs' export site. This means that the preferred way to import operators is from 'rxjs', while 'rxjs/operators' export site has been deprecated.
It would be nice to have (fixable) rule, which makes sure you only import from rxjs
For example:
import{map}from'rxjs/operators';
Should be
import{map}from'rxjs';
The text was updated successfully, but these errors were encountered:
pumano
added a commit
to pumano/eslint-plugin-rxjs
that referenced
this issue
Aug 11, 2023
I've implemented a rule prefer-root-operators in the forked package eslint-plugin-rxjs-x. Comes with an auto-fixer that handles the renamed operators too. Would welcome any feedback.
Since rxjs 7.2.0 most operators have been moved to
rxjs
It would be nice to have (fixable) rule, which makes sure you only import from
rxjs
For example:
Should be
The text was updated successfully, but these errors were encountered: