Skip to content

Commit 9619bae

Browse files
committed
chore(lint): update golangci-lint from 1.58 to 1.59
1 parent c63c259 commit 9619bae

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- name: golangci-lint
2222
uses: golangci/golangci-lint-action@v6
2323
with:
24-
version: v1.58
24+
version: v1.59

.golangci.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ linters:
211211
# (c) Bryan C. Mills / https://github.com/bcmills
212212
- cyclop
213213

214-
# Abandoned, replaced by `unused`.
215-
- deadcode
216-
217214
# Check declaration order of types, consts, vars and funcs.
218215
# I like it but I don't use it.
219216
- decorder
@@ -236,7 +233,6 @@ linters:
236233

237234
# Forces to handle more cases. Cool but noisy.
238235
- exhaustive
239-
- exhaustivestruct # Deprecated, replaced by check below.
240236
- exhaustruct
241237

242238
# Forbids some identifiers. I don't have a case for it.
@@ -268,9 +264,6 @@ linters:
268264
# I don't use file headers.
269265
- goheader
270266

271-
# 1st Go linter, deprecated :( use `revive`.
272-
- golint
273-
274267
# Reports magic consts. Might be noisy but still good.
275268
- mnd
276269

@@ -283,9 +276,6 @@ linters:
283276
# Groupt declarations, I prefer manually.
284277
- grouper
285278

286-
# Deprecated.
287-
- ifshort
288-
289279
# Checks imports aliases, rare.
290280
- importas
291281

@@ -307,9 +297,6 @@ linters:
307297
# Slice declarations with non-zero initial length. Not my case.
308298
- makezero
309299

310-
# Deprecated. Use govet `fieldalignment`.
311-
- maligned
312-
313300
# Enforce tags in un/marshaled structs. Cool but not my case.
314301
- musttag
315302

@@ -322,9 +309,6 @@ linters:
322309
# Reports all named returns, not that bad.
323310
- nonamedreturns
324311

325-
# Deprecated. Replaced by `revive`.
326-
- nosnakecase
327-
328312
# Finds misuse of Sprintf with host:port in a URL. Cool but rare.
329313
- nosprintfhostport
330314

0 commit comments

Comments
 (0)