Skip to content

Commit a456281

Browse files
committed
refactor into updater abstraction
1 parent 021544d commit a456281

File tree

3 files changed

+189
-133
lines changed

3 files changed

+189
-133
lines changed

.golangci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ linters-settings:
175175
- name: modifies-value-receiver
176176
- name: package-comments
177177
- name: range
178-
- name: range-val-address
179-
- name: range-val-in-closure
180178
- name: receiver-naming
181179
- name: redefines-builtin-id
182180
- name: string-of-int
@@ -199,6 +197,11 @@ linters-settings:
199197
govet:
200198
disable:
201199
- loopclosure
200+
gosec:
201+
excludes:
202+
# Implicit memory aliasing of items from a range statement (irrelevant as of Go v1.22)
203+
- G601
204+
202205

203206
issues:
204207
# Rules listed here: https://github.com/securego/gosec#available-rules
@@ -238,7 +241,6 @@ linters:
238241
- errname
239242
- errorlint
240243
- exhaustruct
241-
- exportloopref
242244
- forcetypeassert
243245
- gocritic
244246
# gocyclo is may be useful in the future when we start caring

0 commit comments

Comments
 (0)