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:project: true doesn't permit trailing pathsep intsconfigRootDir #11413

Open
Labels
bugSomething isn't workingtriageWaiting for team members to take a look
@kirkwaiblinger

Description

@kirkwaiblinger

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

I expect thatproject: true should search fortsconfig.json files in thetsconfigRootDir, even if it's written with a trailing slash.

Reproduction Repository Link

https://github.com/kirkwaiblinger/typescript-eslint-project-true-trailing-pathsep

Repro Steps

  1. clone the repo
  2. npm i
  3. npm run lint

Versions

{"eslint":"9.31.0","typescript":"5.8.3","typescript-eslint":"8.37.0"}

Additional Info

See#11407 and#11398 (comment)

Likely, this doesn't have a huge user impact, because__dirname andimport.meta.dirname don't include the trailing path sep, but we managed to cause bugs for ourselves when programmatically inferringtsconfigRootDir!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageWaiting for team members to take a look

    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