Skip to content

Commit

Permalink
Remove uneeded config
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed May 27, 2024
1 parent 486d166 commit 8cb7a2b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 24 deletions.
2 changes: 0 additions & 2 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ plugins:
- remote: buf.build/grpc/go:v1.3.0
out: internal/gen
opt: paths=source_relative
inputs:
- directory: internal/proto
35 changes: 13 additions & 22 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: v2
modules:
- path: internal/proto
- path: internal/examples/pets/internal/proto
lint:
use:
Expand All @@ -15,27 +16,17 @@ modules:
- RPC_RESPONSE_STANDARD_NAME
rpc_allow_google_protobuf_empty_responses: true
disallow_comment_ignores: true
breaking:
use:
- WIRE_JSON
except:
- FIELD_SAME_DEFAULT
- path: internal/proto
lint:
use:
- DEFAULT
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
- RPC_REQUEST_RESPONSE_UNIQUE
- RPC_REQUEST_STANDARD_NAME
- RPC_RESPONSE_STANDARD_NAME
rpc_allow_google_protobuf_empty_responses: true
disallow_comment_ignores: true
breaking:
use:
- WIRE_JSON
except:
- FIELD_SAME_DEFAULT
deps:
- buf.build/googleapis/googleapis
lint:
use:
- DEFAULT
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
- RPC_REQUEST_RESPONSE_UNIQUE
- RPC_REQUEST_STANDARD_NAME
- RPC_RESPONSE_STANDARD_NAME
breaking:
use:
- WIRE_JSON

0 comments on commit 8cb7a2b

Please sign in to comment.