Skip to content

Commit

Permalink
Add additional buf lint/breaking rules
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanburen committed Dec 18, 2024
1 parent 8d8f3e8 commit 54876c6
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/schemas/json/buf.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
"COMMENT_SERVICE",
"RPC_NO_CLIENT_STREAMING",
"RPC_NO_SERVER_STREAMING",
"PACKAGE_NO_IMPORT_CYCLE"
"PACKAGE_NO_IMPORT_CYCLE",
"SYNTAX_SPECIFIED",
"STABLE_PACKAGE_NO_IMPORT_UNSTABLE"
]
},
"breaking-rule": {
Expand Down Expand Up @@ -120,6 +122,7 @@
"MESSAGE_NO_REMOVE_STANDARD_DESCRIPTOR_ACCESSOR",
"MESSAGE_SAME_JSON_FORMAT",
"MESSAGE_SAME_MESSAGE_SET_WIRE_FORMAT",
"MESSAGE_SAME_REQUIRED_FIELDS",
"ONEOF_NO_DELETE",
"PACKAGE_ENUM_NO_DELETE",
"PACKAGE_EXTENSION_NO_DELETE",
Expand Down Expand Up @@ -442,6 +445,18 @@
"items": {
"type": "string"
}
},
"SYNTAX_SPECIFIED": {
"type": "array",
"items": {
"type": "string"
}
},
"STABLE_PACKAGE_NO_IMPORT_UNSTABLE": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand Down Expand Up @@ -793,6 +808,12 @@
"type": "string"
}
},
"MESSAGE_SAME_REQUIRED_FIELDS": {
"type": "array",
"items": {
"type": "string"
}
},
"ONEOF_NO_DELETE": {
"type": "array",
"items": {
Expand Down

0 comments on commit 54876c6

Please sign in to comment.