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

MaketsconfigRootDir relative to the.eslintrc file #251

Closed
Labels
enhancementNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree
@wibblymat

Description

@wibblymat

I am linting my project from two places. Firstly, I runeslint in a shell as part of the CI process. This will have a current working directory that is the location of the.eslintrc file.

I also run the ESLint plugin in VS Code. The current working directory for this is the project root, which is not the same location.

If I set theproject setting to betsconfig.json, andtsconfigRootDir to be. then I can runeslint from the shell. And if I settsconfigRootDir to bepath/to/my/subproject then I can use the VS code plugin. But there is no possible combination of options that let's both work.

Furthermore,tsconfigRootDir seems to be entirely redundant anyway, because there is no combination ofproject andtsconfigRootDir that can't be just concatenated into theproject field, like{ "project": "path/to/my/subproject/tsconfig.json" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

    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