Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For a file outside any workspace, the lint helpers walk up from a drive-qualified directory using POSIX dirname. They can reach
.and pick up the linter's current working directory as the file's workspace or package. Ascend with the native path API, retaining the normalized slash form consumed by the rules.Test plan
Native Windows, Node 22.19.0, baseline df433c6. Both new cases failed before the fix: the workspace lookup returned
.for a temporary tree outside the checkout. The helper suite passes after the change, including fixtures with and without their own package manifest. Four relevant suites passed all 84 tests. Across the lint plugin the baseline had 1,078 passed, 119 failed and 80 skipped. This branch had 1,179 passed, 20 failed and 80 skipped. The remaining rule failures are in family-facts (#1927) and mock-source (#1935); the separate command-line-length issue affects the 80 skipped cases.Typecheck, targeted type-aware lint and diff checks passed. Repository lint still reports the 26 known family-facts diagnostics. The change affects contributor lint rules; it does not change CLI behavior. Prepared with Codex assistance.