Skip to content

Fix IMPORT_USED false positives for leading-dot type references#4471

Merged
emcfarlane merged 4 commits intomainfrom
ed/lintLeadingDot
Apr 14, 2026
Merged

Fix IMPORT_USED false positives for leading-dot type references#4471
emcfarlane merged 4 commits intomainfrom
ed/lintLeadingDot

Conversation

@emcfarlane
Copy link
Copy Markdown
Contributor

Fix a regression where the IMPORT_USED lint rule incorrectly flagged imports as unused when the imported types were referenced with leading-dot fully-qualified names (e.g., .shared.location.v1.USAddress).

@github-actions
Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedApr 14, 2026, 8:55 PM

@emcfarlane emcfarlane requested a review from doriable April 14, 2026 21:01
@doriable doriable mentioned this pull request Apr 14, 2026
@emcfarlane emcfarlane merged commit 649ec97 into main Apr 14, 2026
12 checks passed
@emcfarlane emcfarlane deleted the ed/lintLeadingDot branch April 14, 2026 21:03
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.

3 participants