Skip to content
Snippets Groups Projects
Commit 550599e9 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Update buf linter -> 1.50.0

- update config version v1beta1->v2
parent 71379e9b
No related branches found
No related tags found
1 merge request!12Extend Upload API for resumable downloads
Pipeline #61582 failed
......@@ -12,7 +12,7 @@ RUN apt-get install -y protobuf-compiler
# buf
RUN BIN="/usr/local/bin" && \
VERSION="0.43.2" && \
VERSION="1.50.0" && \
BINARY_NAME="buf" && \
curl -sSL \
"https://github.com/bufbuild/buf/releases/download/v${VERSION}/${BINARY_NAME}-$(uname -s)-$(uname -m)" \
......
# configuration for buf. See https://docs.buf.build/
version: v1beta1
build:
roots:
- proto
version: v2
modules:
- path: proto
lint:
use:
- DEFAULT
- COMMENTS
- OTHER
- STANDARD
except:
ignore:
- ENUM_FIRST_VALUE_ZERO
- FIELD_NOT_REQUIRED
- IMPORT_USED
- PACKAGE_NO_IMPORT_CYCLE
- PROTOVALIDATE
- SYNTAX_SPECIFIED
disallow_comment_ignores: true
breaking:
use:
- FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment