Skip to content

Commit 22dda0f

Browse files
mmorel-35thaJeztah
authored andcommitted
ci: enable use-errors-new from revive
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent 69972b6 commit 22dda0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ linters:
154154
arguments: [200]
155155
- name: unused-receiver # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-receiver
156156
- name: use-any # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#use-any
157+
- name: use-errors-new # https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#use-errors-new
157158

158159
usetesting:
159160
os-chdir: false # FIXME(thaJeztah): Disable `os.Chdir()` detections; should be automatically disabled on Go < 1.24; see https://github.com/docker/cli/pull/5835#issuecomment-2665302478

0 commit comments

Comments
 (0)