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

Make "buf lint" work correctly with top-level extensions #2920

Merged
merged 2 commits into from Apr 29, 2024

Conversation

jhump
Copy link
Member

@jhump jhump commented Apr 26, 2024

In a previous PR, I tried to fix "buf lint" so it would work with top-level extensions (here). However, I only fixed the potential panic in one of the field rules and failed to address a similar issue in another field linter rule.

So this fixes the other rule and adds tests for both rules that cover extensions -- both nested extensions inside messages as well as top-level extensions.

@jhump jhump requested a review from bufdev April 26, 2024 17:49
…herit' message-wide ignores for the two field-specific rules
@jhump jhump merged commit db1d424 into dev Apr 29, 2024
8 checks passed
@jhump jhump deleted the jh/buflint-works-with-extensions branch April 29, 2024 14:40
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.

None yet

2 participants