1
0
mirror of https://github.com/moby/buildkit.git synced 2025-04-18 18:04:03 +03:00
buildkit/.protolint.yaml
Justin Chadwell c5402622bb lint: add protolint config
And tidy up the proto definitions to follow the new linting rules.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-08-10 13:11:18 +01:00

28 lines
434 B
YAML

lint:
directories:
exclude:
- vendor
rules:
no_default: true
add:
# syntax
- INDENT
- SYNTAX_CONSISTENT
- QUOTE_CONSISTENT
# ordering
- IMPORTS_SORTED
# naming
- PACKAGE_NAME_LOWER_CASE
- RPC_NAMES_UPPER_CAMEL_CASE
- RPC_NAMES_CASE
- SERVICE_NAMES_UPPER_CAMEL_CASE
rules_option:
indent:
style: tab
not_insert_newline: true