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

Remove checking not_contains containing prefix/suffix/contains in buf lint for protovalidate #2597

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

oliversun9
Copy link
Contributor

This PR updates PROTOVALIDATE rule to stop checking whether not_contains contains prefix/suffix/contains, which does not imply invalid rules.

For example, not_contains: "foo_bar", contains: "foo" is valid because string foo_ passes this check.

@oliversun9 oliversun9 merged commit e7eef03 into main Nov 16, 2023
8 checks passed
@oliversun9 oliversun9 deleted the osun/fix-buf-lint-string-contains branch November 16, 2023 21:34
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