Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: Upgrade to 8.5.0 breaks linting setup with NX andprojectService: true #9985

Closed
Labels
awaiting responseIssues waiting for a reply from the OP or another partybugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
@hoi4

Description

@hoi4

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I havesearched for related issues and found none that matched my issue.
  • I haveread the FAQ and my problem is not listed.

Issue Description

After upgradingtypescript-eslint to the latest version8.5.0 my linting setup with NX broke.

The respective error message isParsing error: Could not read project service default project 'tsconfig.json': error TS5012: Cannot read file 'tsconfig.json': ENOENT: no such file or directory. The respective files are included in atsconfig.lib.json file which is being referenced fromtsconfig.json. The same applies to files included bytsconfig.spec.ts (also referenced bytsconfig.json).

I am usingprojectService: true with a NX monorepo (see reproduction repo). The same setup worked fine with version8.4.0. The breaking change seems to be#9893.

Reproduction Repository Link

https://github.com/hoi4/typescript-eslint-issue

Repro Steps

  1. clone the repo
  2. npm i
  3. npx nx lint nx19 --skip-nx-cache

Alternatively, when usingeslint directly with an example file:npx eslint apps/nx19/src/app/app.component.ts

The latest commit uses version8.5.0 which has the described issue. The previous commit holds a working state with version8.4.0.

Versions

packageversion
@typescript-eslint/eslint-plugin8.5.0
@typescript-eslint/parser8.5.0
@typescript-eslint/utils8.5.0
TypeScript~5.5.2
ESLint9.10.0
node20.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responseIssues waiting for a reply from the OP or another partybugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp