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

Docs: Clarify tsconfigRootDir in docs #6124

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issueblocked by another issueIssues which are not ready because another issue needs to be resolved firstdocumentationDocumentation ("docs") that needs adding/updating
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

Pulling fromhttps://twitter.com/_baxuz/status/1597248286108553216 &#6084 (comment): it's not explicitly mentioned in our docs when & why you would want to enabletsconfigRootDir.

...but that's about it. It'd be nice if we were more explicit that:

  • It's for when your current working directory doesn't match up with your path relativity.
    • It's mentioned in the@typescript-eslint/parser README as:

    Relative paths are interpreted relative to the current working directory iftsconfigRootDir is not set. If you intend on running ESLint from directories other than the project root, you should consider usingtsconfigRootDir.

  • Having working directory mismatches is, to my understanding, an unfortunate and to-be-avoided situation?
    • We could add workarounds somewhere, such asTroubleshooting & FAQs?

Note: once#5984 is merged, we'll have the package READMEs and included API docs on the site.

Affected URL(s)

https://typescript-eslint.io/docs/linting/typed-linting/monorepos
https://typescript-eslint.io/docs/linting/troubleshooting

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issueblocked by another issueIssues which are not ready because another issue needs to be resolved firstdocumentationDocumentation ("docs") that needs adding/updating

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