Skip to content

Conversation

@odsod
Copy link
Contributor

@odsod odsod commented Nov 14, 2025

This should allow for yet unreleased editions (> 2024) without needing
any bumps to the linter.

Despite proto3 being part of the editions enum, the IsProto3() still
needs to be checked to reliably detect proto3 syntax.

The practical result of this rule should be that anything newer than
proto2 is now allowed.

This should allow for yet unreleased editions (> 2024) without needing
any bumps to the linter.

Despite proto3 being part of the editions enum, the IsProto3() still
needs to be checked to reliably detect proto3 syntax.

The practical result of this rule should be that anything newer than
proto2 is now allowed.
@rambleraptor rambleraptor self-requested a review November 14, 2025 07:37
Copy link
Member

@rambleraptor rambleraptor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if you set a syntax and an edition? Does the protobuf compiler error?

@rambleraptor rambleraptor merged commit 09e6f51 into aep-dev:main Nov 17, 2025
1 check passed
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.

2 participants