Skip to content

Parsing error: Enabling "project" does nothing when "projectService" is enabled. You can remove the "project" setting" #4993

@chabb

Description

@chabb

Which @ngrx/* package(s) are the source of the bug?

eslint-plugin

Minimal reproduction of the bug/regression with instructions

The last version of typescript-eslint added this check
typescript-eslint/typescript-eslint#11333

This causes an issue, because the ngrx plugin always set the project property in its configs, so if we use projectService, we have an error.

Currently we do
delete ngrx.configs.all[1].languageOptions.parserOptions.project
to avoid this error, which is hacky.
It would be nice to have a better solutiion

Expected behavior

We should not have an error when we use the projectService option

Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)

Node: 24

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions