-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eslint plugin should use correct version of 'concatLatestFrom' in autofix for rule 'prefer-concat-latest-from' #4299
Comments
Hi, I'm interested in fixing this issue. Could I work on it? |
@tom9744 Sure |
Just for a sanity check, updating the import reference from |
This seems to work just fine 👍 |
When I look at the export default createRule<Options, MessageIds>({
name: path.parse(__filename).name,
meta: {
type: 'problem',
ngrxModule: 'effects',
version: '>=12.0.0',
... So, I wonder if I should append the export const NGRX_MODULE_PATHS = {
['component-store']: '@ngrx/component-store',
effects: '@ngrx/effects',
operators: '@ngrx/operators', // 👈 Here!
store: '@ngrx/store',
} as const; |
This lost my attention, sorry @tom9744 . |
Which @ngrx/* package(s) are the source of the bug?
eslint-plugin
Minimal reproduction of the bug/regression with instructions
The rule 'prefer-concat-latest-from' has an autofix that fixes
to
however, it uses the deprecated import form
@ngrx/effects
instead of@ngrx/operators
.Expected behavior
The function from
@ngrx/operators
should be used.Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)
NgRx 17.2.0
Other information
No response
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: