Skip to content

Commit b4f7a85

Browse files
committed
rpk: skip revive package name check
We already did a first pass - the remaining packages are following our command name convention
1 parent 965e8e4 commit b4f7a85

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

MODULE.bazel.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/go/rpk/.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ linters:
9191
- name: useless-break
9292
- name: var-declaration
9393
- name: var-naming
94+
# This rule accepts two slices of strings and one optional slice containing a single map with named parameters
95+
# https://revive.run/r#var-naming
96+
arguments:
97+
- []
98+
- []
99+
- - skip-package-name-checks: true
94100
- name: waitgroup-by-value
95101
exclusions:
96102
generated: lax

src/go/rpk/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ require (
7373
go.uber.org/zap v1.27.1
7474
golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546
7575
golang.org/x/sync v0.17.0
76-
golang.org/x/sys v0.37.0
76+
golang.org/x/sys v0.38.0
7777
golang.org/x/term v0.36.0
7878
google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409
7979
google.golang.org/genproto/googleapis/rpc v0.0.0-20260122232226-8e98ce8d340d

src/go/rpk/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
422422
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
423423
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
424424
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
425-
golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ=
426-
golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
425+
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
426+
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
427427
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
428428
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
429429
golang.org/x/term v0.36.0 h1:zMPR+aF8gfksFprF/Nc/rd1wRS1EI6nDBGyWAvDzx2Q=

0 commit comments

Comments
 (0)