Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eslint-plugin-tsdoc] Leverage tsConfigRootDir setting #429

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

dmichon-msft
Copy link
Contributor

@dmichon-msft dmichon-msft commented Nov 22, 2024

Fixes #428 for projects that use @typescript-eslint/parser and set parserOptions.tsConfigRootDir in the eslint config.

Since the official documentation for configuring eslint-plugin-tsdoc tells users to do so (https://github.com/microsoft/tsdoc/blob/main/eslint-plugin/README.md), this should reduce file system probing for tsconfig to zero for the majority of consumers.

@iclanton iclanton merged commit a41369f into main Nov 23, 2024
5 checks passed
@iclanton iclanton deleted the user/dmichon/tsdoc-rule-tsconfig-path branch November 23, 2024 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[eslint-plugin-tsdoc] Excessive file system accesses during rule evaluation
2 participants