I get a false negative behavior with check the COMMENT_RPC rule.
Below I set up a minimal code for to reproduce.
my.proto
package my.v1;
service Greeter {
// Comment
rpc SayHello (HelloRequest) returns (HelloResponse) {}
}
message HelloRequest {
string name = 1;
}
message HelloResponse {
string name = 1;
}
easyp.yaml
To Reproduce
Steps to reproduce the behavior:
- Set up a project structure with a file content above.
- Run easyp linter by command: easyp lint
- Get false negative, which say rpc comment is empty.
Expected behavior
No issue, because rpc is commented, but issue not view, if i comment service, and not comment any rpc in this service.
Desktop (please complete the following information):
- OS: MacOS
- CLI Tool version: from brew: easyp version v0.16.1+modified
I get a false negative behavior with check the COMMENT_RPC rule.
Below I set up a minimal code for to reproduce.
my.proto
easyp.yaml
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No issue, because rpc is commented, but issue not view, if i comment service, and not comment any rpc in this service.
Desktop (please complete the following information):