Skip to content

Commit

Permalink
(fixup) Update to the rule of MINIMAL from BASIC
Browse files Browse the repository at this point in the history
  • Loading branch information
tnasu committed Jul 11, 2023
1 parent 00bf34a commit 60b8f0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions third_party/proto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ https://buf.build/
go run github.com/bufbuild/buf/cmd/buf help
```

## buf.yaml
See:
- https://buf.build/docs/lint/overview/
- https://buf.build/docs/lint/rules/

## if you update `buf.yaml`, should also update `buf.lock`
```script
cd third_party/proto && go run github.com/bufbuild/buf/cmd/buf mod update && cd ../..
Expand Down
4 changes: 1 addition & 3 deletions third_party/proto/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ breaking:
- FILE
lint:
use:
- BASIC
- FILE_LOWER_SNAKE_CASE
- UNARY_RPC
- MINIMAL

0 comments on commit 60b8f0b

Please sign in to comment.