EasyP

Import Used

Categories:

  • MINIMAL
  • BASIC
  • DEFAULT

This rule checks that all imports are used in a proto file.

Examples

Bad

syntax = "proto3";

package foo;

import "bar.proto";

Good

syntax = "proto3";

package foo;

import "bar.proto";

message Foo {
    bar.Bar bar = 1;
}

On this page