Skip to content

Repo: Use absolute tsconfigRootDirs in tests #11414

@kirkwaiblinger

Description

@kirkwaiblinger

Suggestion

tsconfigRootDir is always supposed to be an absolute path — that's its whole purpose, after all.

But, some of our tests, for example getProjectConfigFiles, use relative paths:

This makes it difficult to reason about whether the function is behaving properly. Relates to #11413

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions