/buf-check-reserved-keywords

buf check plugin to check for language reserved keywords in protobuf files

Primary LanguageGoApache License 2.0Apache-2.0

buf-check-reserved-keywords

This repository contains a buf check plugin that checks for use of language reserved keywords in protobuf files.

Why?

While it's considered best practice to avoid using language reserved keywords for protobuf types, the default buf linter does not contain any checks to prevent their usage, as this would require buf to know about the reserved keywords of various languages.

This plugin serves as a place to add these reserved keywords, and prevent their usage in protobuf files.

Supported Languages