Skip to content

Commit

Permalink
build: ignore nogo rule loopvarcapture in external deps
Browse files Browse the repository at this point in the history
This change updates the `loopvarcapture` nogo check to only
check first-party code.

Release note: None
Epic: None
  • Loading branch information
jayshrivastava committed Feb 5, 2024
1 parent 6b88dec commit 1029abb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/bazelutil/nogo_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@
"cockroach/bazel-out/.*/bin/pkg/.*$": "first-party code"
}
},
"loopvarcapture": {
"only_files": {
"cockroach/pkg/.*$": "first-party code",
"cockroach/bazel-out/.*/bin/pkg/.*$": "first-party code"
}
},
"lostcancel": {
"only_files": {
"cockroach/pkg/.*$": "first-party code",
Expand Down

0 comments on commit 1029abb

Please sign in to comment.