Skip to content

Commit

Permalink
faet: add buf config for protoc-gen-go-errors (#3403)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoserwal authored Aug 29, 2024
1 parent 57b961c commit da73565
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/protoc-gen-go-errors/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: v2
plugins:
- remote: buf.build/protocolbuffers/go:v1.33.0
out: .
opt:
- paths=source_relative
2 changes: 2 additions & 0 deletions cmd/protoc-gen-go-errors/buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Generated by buf. DO NOT EDIT.
version: v2
16 changes: 16 additions & 0 deletions cmd/protoc-gen-go-errors/buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: v2
name: buf.build/go-kratos/protoc-gen-go-errors
lint:
use:
- DEFAULT
except:
- PACKAGE_DIRECTORY_MATCH
- ENUM_VALUE_UPPER_SNAKE_CASE
- ENUM_VALUE_PREFIX
- ENUM_ZERO_VALUE_SUFFIX
- FIELD_LOWER_SNAKE_CASE
deps:
- buf.build/googleapis/googleapis
breaking:
use:
- FILE

0 comments on commit da73565

Please sign in to comment.