diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-10-30 12:00:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-30 12:02:09 -0700 |
commit | d66aebb15a5804f84240dccac55cd56b1dde15e5 (patch) | |
tree | 02bcd8f1b070a773093b93eafbd8e0bb59d17e09 /nogo.yaml | |
parent | 3a6f046ae8d852210ae2b82ba35e9a8c2e6757b9 (diff) |
Add the gVisor admission webhook
PiperOrigin-RevId: 339913577
Diffstat (limited to 'nogo.yaml')
-rw-r--r-- | nogo.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,6 @@ groups: # We define three basic groups: generated (all generated files), - # exteranl (all files outside the repository), and internal (all + # external (all files outside the repository), and internal (all # files within the local repository). We can't enforce many style # checks on generated and external code, so enable those cases # selectively for analyzers below. @@ -42,6 +42,10 @@ global: # Generated gRPC code is not compliant either. - "error strings should not be capitalized" - "grpc.Errorf is deprecated" + # Generated proto code does not always follow capitalization conventions. + - "(field|method|struct|type) .* should be .*" + # Generated proto code sometimes duplicates imports with aliases. + - "duplicate import" internal: suppress: # We use ALL_CAPS for system definitions, |